lasso2 (version 1.2-8)

plot.l1celist: Plot Method for `l1celist' Objects

Description

Plots a l1celist object on the current graphics device.

Usage

## S3 method for class 'l1celist':
plot(x, plot=TRUE, all=TRUE, constrained=FALSE,
              type = "b", xlab = "bounds", ylab = "coeff | bounds", \dots)

Arguments

Value

A matrix with the bound(s) (relative [if used] and absolute), the Lagrangian(s) and coefficints of the fitted model(s).

Examples

Run this code
data(Prostate)
l1c.P <- l1ce(lpsa ~ ., Prostate, bound=(1:20)/20)
length(l1c.P)# 20 l1ce models
plot(l1c.P)

Run the code above in your browser using DataCamp Workspace