coef.FuncompCGL: get coefficients or make coefficient predictions from and...

Description Usage Arguments Details Value

Description

Computes the coefficients at the requested values for lam from a fitted FuncompCGL object.

Usage

1
2
## S3 method for class 'FuncompCGL'
coef(object, s = NULL, ...)

Arguments

object

fitted FuncompCGL object.

s

value(s) of the penalty parameter lam at which predictions are required. Default is the entire sequence used to create the model.

...

not used. Other arguments to predict.

Details

s is the new vector at which predictions are requested. If s is not in the lambda sequence used for fitting the model, the coef function will use linear interpolation to make predictions. The new values are interpolated using a fraction of coefficients from both left and right lam indices.

Value

The coefficients at the requested values for s.


jiji6454/Rpac_compReg documentation built on May 31, 2019, 5:01 a.m.