predict.blcTree {RPMM}R Documentation

Predict using a Beta RPMM object

Description

Prediction method for objects of type blcTree

Usage

## S3 method for class 'blcTree'
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 blcTreeLeafMatrix, "class" produces output similar to blcTreeLeafClasses.

...

(Unused).

Details

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

See Also

blcTreeLeafMatrix


[Package RPMM version 1.25 Index]