Learn R Programming

rpart (version 3.1-9)

rpart.matrix: Creates a Model Matrix from a Call to Rpart

Description

Creates a model matrix from a call to rpart.

Usage

rpart.matrix(frame)

Arguments

frame
model frame (from call to rpart)

Value

  • Returns a matrix from the frame of class matrix. Used internally by the function rpart.