methods.rlasso: Methods for S3 object 'rlasso'

Description Usage Arguments

Description

Objects of class rlasso are constructed by rlasso. print.rlasso prints and displays some information about fitted rlasso objects. summary.rlasso summarizes information of a fitted rlasso object. predict.rlasso predicts values based on a rlasso object. model.matrix.rlasso constructs the model matrix of a rlasso object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## S3 method for class 'rlasso'
print(x, all = TRUE, digits = max(3L, getOption("digits") -
  3L), ...)

## S3 method for class 'rlasso'
summary(object, all = TRUE, digits = max(3L,
  getOption("digits") - 3L), ...)

## S3 method for class 'rlasso'
model.matrix(object, ...)

## S3 method for class 'rlasso'
predict(object, newdata = NULL, ...)

Arguments

x

an object of class rlasso

all

logical, indicates if coefficients of all variables (TRUE) should be displayed or only the non-zero ones (FALSE)

digits

significant digits in printout

...

arguments passed to the print function and other methods

object

an object of class rlasso

newdata

new data set for prediction. An optional data frame in which to look for variables with which to predict. If omitted, the fitted values are returned.


hdm documentation built on May 2, 2019, 4:42 p.m.