plot.lae: Visualize estimates from Lasso Averaging Estimation

Description Usage Arguments Author(s) See Also Examples

Description

The function plots (i) the weights for each candidate model relating to different candidate complexity parameters and (ii) the Lasso averaging, Lasso, OLS estimation, and variable importance results.

Usage

1
2
3
## S3 method for class 'lae'
plot(x, xaxis = c("index", "realnumbers"), legend.place = "topright", 
         display.importance = TRUE, ...)

Arguments

x

An object of class "lae".

xaxis

A string of either "index" or "realnumbers" to specify whether the x-axis should show the real values of the candidate complexity parameters or not.

legend.place

A string defining where the legend should be placed.

display.importance

A logical value defining whether the variable importance measure should be plotted or not.

...

Further graphical arguments to be passed.

Author(s)

Michael Schomaker

See Also

lae for Lasso Averaging Estimation.

Examples

1
2
3
data(Prostate)
l1 <- lae(Prostate, ycol="lpsa", kfold=10)
plot(l1, xaxis="realnumbers")


Search within the MAMI 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.