print.rlasso {hdm}R Documentation

Methods for S3 object rlasso

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

## 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.


[Package hdm version 0.3.2 Index]