print.lassogrp: Print lassogrp or lassofit Objects

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
2
3
4
## 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

1
2
3
4
5
6
7
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)

lassogrp documentation built on July 25, 2021, 3 a.m.