MPA.coef: get coefficients at a given step.

Description Usage Arguments Value Examples

Description

Get the vector of coefficients at a given step

Usage

1

Arguments

x

A LarsPath object.

step

The step at which you want to get the coefficients.

Value

a vector of size p containing the value of coefficients at the desired step.

Examples

1
2
3
dataset=MPA.simul(50,10000,0.4,10,50,matrix(c(0.1,0.8,0.02,0.02),nrow=2))
result=MPA.fusion(dataset$data,dataset$response)
MPA.coef(result,45) #get the coefficients

MPAlars documentation built on May 2, 2019, 5:47 p.m.

Related to MPA.coef in MPAlars...