print.lassogrp {lassogrp}R Documentation

Print lassogrp or lassofit Objects

Description

Methods for printing of "lassogrp" or "lassofit" objects.

Usage

## S3 method for class 'lassogrp'
print(x, coefficients = TRUE, doc = options("doc")[[1]], ...)
## S3 method for class 'lassofit'
print(x, residuals = FALSE, doc = options("doc")[[1]], ...)

Arguments

x

Object to be printed

coefficients

logical: should coefficients be shown?

residuals

logical: should a summary of residuals be shown?

doc

integer specifying if documentation of x should be printed (if any):

0:

do not show documentation

1:

show attr(x,'tit')

2:

show attr(x,'descr') in addition

...

further arguments, passed to print.

Value

x, invisibly.

Author(s)

Werner A. Stahel, ETH Zurich, stahel@stat.math.ethz.ch

Examples

data(asphalt)
rr <- lasso(log10(RUT)~log10(VISC)+ASPH+BASE+FINES+VOIDS+RUN,
            data= asphalt)
print(rr, coefficients=FALSE)

rrf <- extract.lassogrp(rr, 13)
print(rrf, residuals=TRUE)

[Package lassogrp version 1.0-3 Index]