Skip to contents

Plot relevant properties of sparseR objects

Usage

# S3 method for sparseR
plot(x, plot_type = c("both", "cv", "path"), cols = NULL, log.l = TRUE, ...)

Arguments

x

a `sparseR` object

plot_type

should the solution path, CV results, or both be plotted?

cols

option to specify color of groups

log.l

should the x-axis (lambda) be logged?

...

extra plotting options

Value

nothing returned