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

Description Usage Arguments See Also

Description

This function provides the predicted subgroup or test statistics.

Usage

1
2
## 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


kaps documentation built on May 2, 2019, 8:29 a.m.