Learn R Programming

kaps (version 0.9-2)

summary: Methods for Function summary for the S4 classes "apss" and "Tree"

Description

This function provides tabloid information such as survival median, 1-, 3-, and 5 years actual suvival time for each terminal group as a table format.

Usage

## S3 method for class 'apss':
summary(object, K)
## S3 method for class 'Tree':
summary(object)

Arguments

object
an object of S4 class apss or Tree.
K
a scalar object to determine the number of subgroups K. If missing, the estimated subgroup K is selected.

See Also

kaps and apss class lrtree and apss class