powered by
Warning: this function is no longer exported.
beta_plots(model, voi = NULL, logLambda = TRUE, loi = NULL, ...)
Plot of how beta estimates change with lambda.
cv.rq.pen or cv.rq.group.pen object
Index of betas to include. Default is all of them.
Plot of lambdas is on the log scale.
Index of lambdas to use, default is all of them.
Additional arguments to be sent to plot()
Ben Sherwood, ben.sherwood@ku.edu
if (FALSE) { set.seed(1) x <- matrix(rnorm(800),nrow=100) y <- 1 + x[,1] - 3*x[,5] + rnorm(100) lassoModels <- cv.rq.pen(x,y) b_plot <- beta_plots(lassoModels) }
Run the code above in your browser using DataLab