Plot the path obtained from 'MLGL' function
Plot the stability path obtained from stability.MLGL
function
1 2 
x 

log.lambda 
If TRUE, use log(lambda) instead of lambda in abscissa 
threshold 
Threshold for selection frequency 
... 
Other parameters for plot function 
A list containing :
Index of selected variables for the given threshold.
Index of the associated group.
Value of threshold
stability.MLGL
1 2 3 4 5 6 7 8 9 10 11 12  ## Not run:
set.seed(42)
# Simulate gaussian data with blockdiagonal variance matrix containing 12 blocks of size 5
X < simuBlockGaussian(50, 12, 5, 0.7)
# Generate a response variable
y < drop(X[,c(2,7,12)]%*%c(2,2,2)+rnorm(50,0,0.5))
# Apply stability.MLGL method
res < stability.MLGL(X,y)
selected < plot(res)
print(selected)
## End(Not run)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.