Predict new values using the fitted object "kaps".
This function provides the predicted subgroup or test statistics.
## S4 method for signature 'kaps' predict(object, newdata, type = c("predict","kaps"))
object |
object from |
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. |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.