coef.saenet: Extract Coefficients From a "saenet" Object

View source: R/coef.R

coef.saenetR Documentation

Extract Coefficients From a "saenet" Object

Description

coef.galasso averages the estimates across imputations to return a single vector instead of a matrix.

Usage

## S3 method for class 'saenet'
coef(object, lambda, alpha, ...)

Arguments

object

A "cv.saenet" fit

lambda

Chosen value of lambda. Must be between "min(lambda)" and "max(lambda)". Default is "lambda.min"

alpha

Chosen value of alpha. Must be between "min(alpha)" and "max(alpha)". Default is "alpha.min"

...

Additional unused arguments

Value

A numeric vector containing the coefficients from running saenet on lambda and alpha.


umich-cphds/minet documentation built on March 9, 2024, 8:08 p.m.