predict.cubt {cubt}R Documentation

Computes predictions from a cubt tree.

Description

Computes predictions from a cubt tree.

Usage

predict.cubt(objin, test, minsplit = 4, type = "class",critopt="anova")

Arguments

objin

An unsupervised classification tree resuting from cubt.

test

Test data set.

minsplit

minimum number of observations in order to go down further in the tree for prediction. A minimum of two observations is used.

type

type of object returned, a tree or a vector of clusters.

critopt

Criteria to use: "anova" or "entropy"

Details

Compute cluster predictions for each observation in a test data set.

Author(s)

Badih Ghattas


[Package cubt version 3.2 Index]