Last data update: 2014.03.03

R: graphical output for a 'bolasso' object
plot.bolassoR Documentation

graphical output for a bolasso object

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

## 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

## 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)

Results