Learn R Programming

sglOptim (version 1.0.122.0)

models: Generic function for extracting the fitted models

Description

Returns the fitted models

Usage

models(object, index, ...)

Arguments

object
an object
index
a vector of indices of the models to be returned
...
additional parameters (optional)

Value

  • a list of length length(index) containing the models