coef.fpen: retrieve the coefficients under given tuning parameter

View source: R/coef.R

coef.fpenR Documentation

retrieve the coefficients under given tuning parameter

Description

retrieve the coefficients under given tuning parameter

Usage

## S3 method for class 'fpen'
coef(object, ...)

Arguments

object

Object with class "fpen", generated from frailtyMMpen.

...

Ignored

Details

Without given a specific tune value, the coefficients with minimum BIC is returned. If tune=a, the coefficient is computed using linear interpolation of the result from the coefficients estimated from the run of regularization path. Thus, a should between the minimum and maximum value of the tuning parameter sequences used for the model fitting.

Value

A vector of estimated parameters.


frailtyMMpen documentation built on Aug. 8, 2023, 5:15 p.m.