Learn R Programming

modelObj (version 4.2)

modelObj: Class modelObj

Description

A class for model objects.

Arguments

Slots

model

Object of class formula

solver

Object of class methodObjSolver method to obtain parameter estimates.

predictor

Object of class methodObjPredict method to obtain predicted values.

Methods

fit

: Executes regression step.

model

: Retrieve model.

solver

: Retrieve regression method name.

solverArgs

: Retrieve arguments to be sent to regression method.

solverArgs(object)<-

: Set arguments to be sent to regression method.

predictor

: Retrieve prediction method name.

predictorArgs

: Retrieve arguments to be sent to prediction method.

predictorArgs(object)<-

: Set arguments to be sent to prediction method.

Details

Objects should not be created directly. The utility function buildModelObj() should be used.

Examples

Run this code
# NOT RUN {
showClass("modelObj")

# }

Run the code above in your browser using DataLab