predict: Predict new values using the fitted object "kaps".

Description Usage Arguments See Also

Description

This function provides the predicted subgroups and its test statistic.

Usage

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

Arguments

object

object from kaps.

newdata

An optional 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 prediction. If the type is "predict", it predicts subgroups based on the fitted model. If the type is "kaps", it returns the overall and its worst-pair test statistic.

See Also

kaps


sooheang/kaps documentation built on July 15, 2019, 2:03 p.m.