Learn R Programming

maxEff (version 0.2.2)

predict_add_dummy: Regression Models with Optimal Dichotomizing Predictors

Description

Regression models with optimal dichotomizing predictor(s), used either as boolean or continuous predictor(s).

Usage

# S3 method for add_dummy
predict(object, ...)

# S3 method for add_dummy_ predict(object, newdata, ...)

Value

Function predict.add_dummy() returns a listof regression models.

Function predict.add_dummy_() returns a updated regression model.

Arguments

object

an add_dummy_ object, as an element of the listof return from functions add_dummy() or add_dummy_partition()

...

additional parameters, currently not in use

newdata

data.frame, candidate numeric predictors \(x\)'s must have the same name and dimension as the training data. If missing, the training data is used