Learn R Programming

CaseBasedReasoning (version 0.3)

RegressionModel: Root class for Regression Models, e.g., CPH, logistic, and linear regression

Description

Root class for Regression Models, e.g., CPH, logistic, and linear regression

Root class for Regression Models, e.g., CPH, logistic, and linear regression

Arguments

Super class

CaseBasedReasoning::CBRBase -> RegressionModel

Public fields

model_params

rms arguments

weights

Weights for distance calculation

Methods

Inherited methods


Method print()

Prints information of the initialized object

Usage

RegressionModel$print()


Method variable_selection()

Fast backward variable selection with penalization

Usage

RegressionModel$variable_selection(x)

Arguments

x

Training data of class data.frame


Method fit()

Fit the RandomForest

Usage

RegressionModel$fit()

Arguments

x

Training data of class data.frame


Method clone()

The objects of this class are cloneable with this method.

Usage

RegressionModel$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.