Learn R Programming

mogavs (version 1.1.0)

summary.mogavs: Summary function for mogavs

Description

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

Usage

# S3 method for 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.

See Also

mogavs

Examples

Run this code
# NOT RUN {
data(sampleData)
mod<-mogavs(y~.,data=sampleData,maxGenerations=20)
summary(mod)
# }

Run the code above in your browser using DataLab