Last data update: 2014.03.03

R: Predict new values using the fitted object "kaps".
predictR Documentation

Predict new values using the fitted object "kaps".

Description

This function provides the predicted subgroup or test statistics.

Usage

## S4 method for signature 'kaps'
predict(object, newdata, type = c("predict","kaps"))

Arguments

object

object from kaps.

newdata

An optinal argument in which the name of predicted object is located. If omitted, the dataset used in the model fitting is utilized.

type

a type of preddiction. If "predict", predict subgroups based on the fitted model. If a type is "kaps", it returns the overall and worst-pair test staiststics for estimated subgroups.

See Also

kaps

Results