Description Usage Arguments Value Author(s) Examples
Retrieve the prediction method from an object of class modelObj. This capability is intended for package developers making use of the “model object" framework.
1 2 |
object |
an object of class modelObj. |
... |
ignored. |
Returns an object of class "character"; the name of the prediction method specified in the modelObj object.
Shannon T. Holloway <sthollow@ncsu.edu>
1 2 3 4 5 6 7 8 9 | #----------------------------------------------------#
# Create modeling object using a formula
#----------------------------------------------------#
mo <- buildModelObj(model=Y ~ X1 + X2 + X3 + X4,
solver.method='lm',
predict.method='predict.lm',
predict.args=list(type='response'))
predictor(mo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.