predict.prtree {PRTree} | R Documentation |
Predict method for PRTree
Description
Predicted values based on a prtree object.
Usage
## S3 method for class 'prtree'
predict(object, newdata, ...)
Arguments
object |
Object of class inheriting from |
newdata |
A matrix with new values for the covariates. |
... |
further arguments passed to or from other methods. |
Value
A list with the following arguments
yhat |
The predicted values. |
newdata |
The matrix with the covariates new values. |
[Package PRTree version 0.1.0 Index]