coef.inferCSN: Extracts a specific solution in the regularization path

View source: R/utils.R

coef.inferCSNR Documentation

Extracts a specific solution in the regularization path

Description

Extracts a specific solution in the regularization path

Usage

## S3 method for class 'inferCSN'
coef(object, lambda = NULL, gamma = NULL, supportSize = NULL, ...)

## S3 method for class 'inferCSNCV'
coef(object, lambda = NULL, gamma = NULL, ...)

Arguments

object

The output of inferCSN.fit or inferCSN.cvfit

lambda

The value of lambda at which to extract the solution

gamma

The value of gamma at which to extract the solution

supportSize

The number of non-zeros each solution extracted will contain

...

Other parameters

Value

Return the specific solution

Return the specific solution


inferCSN documentation built on Nov. 2, 2023, 6:27 p.m.