predict.glcTree {RPMM} | R Documentation |
Prediction method for objects of type glcTree
## S3 method for class 'glcTree'
predict(object, newdata=NULL, nodelist=NULL, type="weight",...)
object |
RPMM object to print |
newdata |
external data matrix from which to apply predictions |
nodelist |
RPMM subnode to use (default = root) |
type |
output type: "weight" produces output similar to |
... |
(Unused). |
This function is similar to glcTreeLeafMatrix
and glcTreeLeafClasses
, except that it supports prediction on an external data set via the argument newdata
.