predict.glcTree: Predict using a Gaussian RPMM object

Description Usage Arguments Details See Also

Description

Prediction method for objects of type glcTree

Usage

1
2
## S3 method for class 'glcTree'
predict(object, newdata=NULL, nodelist=NULL, type="weight",...)

Arguments

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 glcTreeLeafMatrix, "class" produces output similar to glcTreeLeafClasses.

...

(Unused).

Details

This function is similar to glcTreeLeafMatrix and glcTreeLeafClasses, except that it supports prediction on an external data set via the argument newdata.

See Also

glcTreeLeafMatrix



Search within the RPMM package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.