graphical output for a bolasso object

Share:

Description

graphical output for a bolasso object. Plot the frequency of selection of each variable depending on the regularization parameter mu from the "bolasso" object.

Usage

1
2
## S3 method for class 'bolasso'
plot(x,...)

Arguments

x

Object of class "bolasso". As obtained from bolasso.

...

not used.

Details

Plot the frequency of selection of all variables depending on the regularization parameter.

See Also

bolasso, dyadiqueordre

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
x=matrix(rnorm(100*20),100,20)
beta=c(rep(2,5),rep(0,15))
y=x%*%beta+rnorm(100)

# BoLasso
mod=bolasso(x,y,mu=seq(1.5,0.1,-0.1))
plot(mod)

## End(Not run)