Description Objects from the Class Slots Methods Examples
A class containing the fit results for a model object defined as an object of class modelObj.
Objects should not be created directly. Objects are created by a call to fit().
fitObj
: Value object of modeling function (i.e., class(fitObj)="lm" if solver.method=lm).
func
: Object of class methodObj
the method to be used to obtain predicted values.
signature(object = "modelObjFit")
: if,
defined for the modeling function, extracts
model coefficients. Else, returns NULL.
signature(object = "modelObjFit")
:
Retrieve fit object.
signature(x = "modelObjFit", y=NULL)
: if
defined for the modeling function, invokes
plot(modelObj@fitObj). Else, returns a message that a
plot(modelObj@fitObj) method is not defined.
signature(object = "modelObjFit")
:
returns predicted values obtained using fitObj and
the newdata data.frame.
signature(object = "modelObjFit")
:
Retrieve prediction method name.
signature(object = "modelObjFit")
:
Retrieve arguments to be sent to prediction method.
signature(object = "modelObjFit")
: if
defined for the modeling function, returns the
residuals(modelObjFit@fitObj).
signature(x = "modelObjFit")
: displays
standard results returned by modeling function.
signature(x = "modelObjFit")
: if,
defined for the modeling function, returns
summary(modelObjFit@fitObj). Else, returns a message that a
summary(modelObjFit@fitObj) method is not defined.
1 | showClass("modelObjFit")
|
Class "modelObjFit" [package "modelObj"]
Slots:
Name: fitObj modelObj
Class: ANY modelObj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.