model.frame.rpart {rpart} | R Documentation |
model.frame
method for rpart
objects.
model.frame(formula, ...)
formula |
The result of an rpart fit.
|
... |
arguments to be passed to or from other methods. |
This function is a method for the generic function model.frame
for
class rpart
. It can be invoked by calling model.frame
for an object of the appropriate class, or directly by calling
model.frame.rpart
regardless of the class of the object.
An object of class model.frame
suitable for fitting an
rpart
-based model. Called by rpart
and other
functions for manipulating rpart
objects.