Learn R Programming

mht (version 3.1.2)

plot.bolasso: 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

"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

Run this code
## 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)

Run the code above in your browser using DataLab