## File: plot.l1celist.Rd

package info (click to toggle)
r-cran-lasso2 1.2-20-1
 1234567891011121314151617181920212223242526272829303132333435363738394041 % Copyright (C) 1998 % Berwin A. Turlach % Bill Venables % $Id: plot.l1celist.d,v 1.2 1999/11/30 06:14:16 bturlach Exp$ % --> ../COPYRIGHT for more details \name{plot.l1celist} \alias{plot.l1celist} \title{Plot Method for `l1celist' Objects} \description{ Plots a \code{l1celist} object on the current graphics device. } \usage{ \method{plot}{l1celist}(x, plot=TRUE, all=TRUE, constrained=FALSE, type = "b", xlab = "bounds", ylab = "coeff | bounds", \dots) } \arguments{ \item{x}{fitted model object of class \code{l1celist}.} \item{plot}{logical; if \code{TRUE} a \code{matplot()} of all the coefficients in the list against the relative bound (absolute bound if relative is not present) is plotted. Otherwise no plot is done. } \item{all}{logical; if \code{FALSE}, then only the non-zero coefficients are returned.} \item{constrained}{ if \code{TRUE} then only the coefficients that were constrained are returned.} \item{type, xlab, ylab, \dots}{further arguments with useful defaults passed to \code{\link{matplot}}.} } \value{ A matrix with the bound(s) (relative [if used] and absolute), the Lagrangian(s) and coefficints of the fitted model(s). } \examples{ data(Prostate) l1c.P <- l1ce(lpsa ~ ., Prostate, bound=(1:20)/20) length(l1c.P)# 20 l1ce models plot(l1c.P) } \keyword{hplot}