Learn R Programming

sparseR (version 0.3.2)

plot.sparseR: Plot relevant properties of sparseR objects

Description

Plot relevant properties of sparseR objects

Usage

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

Value

nothing returned

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