Learn R Programming

sglOptim (version 1.3.8)

nmod.sgl: Returns the number of models in a sgl object

Description

Returns the number of models used for fitting.

Usage

# S3 method for sgl
nmod(object, ...)

Arguments

object

a sgl object

...

ignored

Value

the number of models in object

Details

Note that cv and subsampling objects does not conating any models even though nmod returns a positiv number.