Class "modelObj"

Share:

Description

A class for model objects.

Objects from the Class

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

Slots

model:

Object of class formula

solver:

Object of class methodObj method to obtain parameter estimates.

predictor:

Object of class methodObj method to obtain predicted values.

S4Methods

fit

signature(object = "modelObj", data="data.frame", response="vector", ...): Executes regression step.

model

signature(object = "modelObj"): Retrieve model.

solver

signature(object = "modelObj"): Retrieve regression method name.

solverArgs

signature(object = "modelObj"): Retrieve arguments to be sent to regression method.

solverArgs(object)<-

signature(object = "modelObj"): Set arguments to be sent to regression method.

predictor

signature(object = "modelObj"): Retrieve prediction method name.

predictorArgs

signature(object = "modelObj"): Retrieve arguments to be sent to prediction method.

predictorArgs(object)<-

signature(object = "modelObj"): Set arguments to be sent to prediction method.

Examples

1
showClass("modelObj")