Learn R Programming

BOSO (version 1.0.4)

coef.BOSO: Extract coefficients from a BOSO object

Description

This is an equivalent function to the one offered by coef.glmnet for extraction of coefficients.

Usage

# S3 method for BOSO
coef(object, beta0 = F, ...)

Value

A `matrix` object with the corresponding beta values estimated.

Arguments

object

Fitted 'BOSO' or 'BOSO.single' object

beta0

Force beta0 to appear (output of 'p+1' features)

...

extra arguments for future updates