Description Usage Arguments Value Author(s) Examples
Plot method for clusterpath data frames. These data frames contain all the breakpoints for each dimension, so we can plot lines to represent exactly the entire path of optimal solutions.
1 2 3 4 5 6 | ## S3 method for class 'clusterpath'
plot(x, type = "l", main = "The entire regularization path of optimal solutions for each variable",
xlab = expression(paste("location in the regularization path ",
lambda)), ylab = expression(paste("optimal coefficient ",
alpha)), strip = strip.custom(strip.names = TRUE), layout = c(1,
nlevels(x$col)), ...)
|
x |
data frame returned by clusterpath.l1.id |
type |
plot type, see ?xyplot |
main |
main title |
xlab |
annotation for the horizontal axis |
ylab |
annotation for the vertical axis |
strip |
strip function for annotation in the strips |
layout |
layout for the plot, by default the panels are stacked vertically |
... |
Other arguments for xyplot |
lattice xyplot showing the entire path of solutions.
Toby Dylan Hocking
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.