Learn R Programming

grpsel (version 1.3.2)

coef.grpsel: Coefficient function for grpsel object

Description

Extracts coefficients for specified values of the tuning parameters.

Usage

# S3 method for grpsel
coef(object, lambda = NULL, gamma = NULL, ...)

Value

A matrix of coefficients.

Arguments

object

an object of class grpsel

lambda

the value of lambda indexing the desired fit

gamma

the value of gamma indexing the desired fit

...

any other arguments

Author

Ryan Thompson <ryan.thompson-1@uts.edu.au>