powered by
This function plots various diagnostics collected during the model fitting resulting from a call to SLOPE() provided that diagnostics = TRUE.
SLOPE()
diagnostics = TRUE
plotDiagnostics( object, ind = max(object$diagnostics$penalty), xvar = c("time", "iteration") )
Invisibly returns NULL. The function is called for its side effect of producing a plot.
an object of class "SLOPE".
"SLOPE"
either "last"
what to place on the x axis. iteration plots each iteration, time plots the wall-clock time.
iteration
time
x <- SLOPE(abalone$x, abalone$y, diagnostics = TRUE) plotDiagnostics(x)
Run the code above in your browser using DataLab