Description Usage Arguments Value See Also Examples
Produce a plot of the solution path of a fusedanova
fit.
1 2 3 4 5 6 | \S4method{plot}{fusedanova}(x, y,
main=paste("Regularization path for variable",varvect),
xlab = expression(paste("location in the regularization path ",lambda)),
ylab = expression(paste("optimal coefficient ",beta)),
log.scale = TRUE, reverse = FALSE, labels = NULL ,
varvect = sample(1:length(slot(x,"result")),1), plot = TRUE, ...)
|
x |
an object of class |
y |
used for S4 compatibility. |
main |
the main title, with a hopefully appropriate default definition. |
xlab |
character or expression (or a "grob") giving label(s) for the x-axis. |
ylab |
character or expression (or "grob") giving label for the y-axis. |
log.scale |
logical; indicates if a log-scale should
be used. Default is |
reverse |
logical; should the X-axis be reversed?
Default is |
labels |
a vector of factor with labels associated
to n samples classed by fused-ANOVA. Default is
|
varvect |
a vector with the variables whose path will be plot. Default picks one at random. |
plot |
logical; indicates if the graph should be
plotted on call. Default is |
... |
used for S4 compatibility. |
a ggplot2 object which can be plotted via the
print
method.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.