createAdditionalPlots {mogavs}R Documentation

Function for plotting boundaries of the archive set.

Description

A plotting function for plotting the set of all tried models, and highlighting either all models within epsilonBand MSE of the efficient frontier, or the kBest best models for each number of variables.

Usage

createAdditionalPlots(mogavs, epsilonBand = 0, kBest = 1, method = c("MSE", "kBest"))

Arguments

mogavs

A model of class mogavs.

epsilonBand

The value of epsilonBand, ie. the mean square error inside which models are highlighted.

kBest

The number of models that will be highlighted for each number of variables.

method

Either MSE or kBest (case-insensitive). MSE plots the set of all tried models, with models inside the epsilonBand highlighted. method="kBest" plots the set of all tried models, with the kBest best models for each number of variables highlighted.

Author(s)

Tommi Pajala <tommi.pajala@aalto.fi>

See Also

mogavs

Examples

data(sampleData)
mod<-mogavs(y~.,data=sampleData,maxGenerations=20)
createAdditionalPlots(mod,epsilonBand=0,kBest=15,"kbest")
createAdditionalPlots(mod,epsilonBand=0.001,method="mse")


[Package mogavs version 1.1.0 Index]