plot.bolasso {mht} | R Documentation |
bolasso
objectgraphical output for a bolasso
object. Plot the frequency of selection of each variable depending on the regularization parameter mu
from the "bolasso" object.
## S3 method for class 'bolasso' plot(x,...)
x |
Object of class "bolasso". As obtained from |
... |
not used. |
Plot the frequency of selection of all variables depending on the regularization parameter.
## 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)