View source: R/plotDiagnostics.R
plotDiagnostics | R Documentation |
This function plots various diagnostics collected during
the model fitting resulting from a call to SLOPE()
provided that
diagnostics = TRUE
.
plotDiagnostics(
object,
ind = max(object$diagnostics$penalty),
xvar = c("time", "iteration")
)
object |
an object of class |
ind |
either "last" |
xvar |
what to place on the x axis. |
An object of class "ggplot"
, which will be plotted on the
current device unless stored in a variable.
SLOPE()
, ggplot2::theme()
x <- SLOPE(abalone$x, abalone$y, diagnostics = TRUE)
plotDiagnostics(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.