beta_plots: Plots of Betas

Description Usage Arguments Value Author(s) Examples

Description

Plots how the beta estimates changes with the different values of lambda.

Usage

1
beta_plots(model,voi=NULL,logLambda=TRUE,loi=NULL,...)

Arguments

model

"cv.rq.pen" object.

voi

Index of betas to include. Default is all of the lambdas from "cv.rq.pen" object.

logLambda

Plot of lambdas is on the log scale.

loi

Index of lambdas to include. Default is all of the lambdas from "cv.rq.pen" object.

...

Additional arguments to be sent to plot.

Value

Plot of how beta estimates change with lambda.

Author(s)

Ben Sherwood

Examples

1
2
3
4
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)


Search within the rqPen package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? 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.