R/plotDiagnostics.R
plotDiagnostics.Rd
This function plots various diagnostics collected during
the model fitting resulting from a call to SLOPE()
provided that
diagnostics = TRUE
.
an object of class "SLOPE"
.
either "last"
what to place on the x axis. iteration
plots each iteration,
time
plots the wall-clock time.
An object of class "ggplot"
, which will be plotted on the
current device unless stored in a variable.
x <- SLOPE(abalone$x, abalone$y, diagnostics = TRUE)
plotDiagnostics(x)