Summary function for mogavs

Share:

Description

S3 summary method for the mogavs class, producing output about the run and the models on the efficient frontier.

Usage

1
2
## S3 method for class 'mogavs'
summary(object, ...)

Arguments

object

A model of class mogavs.

...

Additional arguments for summary, only here to achieve S3 consistency, ie. they are ignored.

Value

A list with the following details:

maxGenerations

The number of generations run for the model.

boundary

The efficient frontier, summarized as a two-column matrix with the number of variables and MSE.

modelsTried

The number of models tried during the run.

Author(s)

Tommi Pajala <tommi.pajala@aalto.fi>

See Also

mogavs

Examples

1
2
3
data(sampleData)
mod<-mogavs(y~.,data=sampleData,maxGenerations=20)
summary(mod)