Create a Model Frame for fitting an Rpart Object

Usage

model.frame.rpart(formula, ...)

Arguments

formula the formula or other object defining what terms should be included in the model frame.

Details

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.

Value

An object of class model.frame suitable for fitting an rpart-based model. Called by rpart and other functions for manipulating rpart objects.

See Also

model.frame


[Package Contents]