Description Objects from the Class Slots Methods Examples
A S4 class for K-adaptive partitioning for survival data (kaps).
Objects can be created by calls of the form new("kaps"). The most important slot is groupID, which is a vector consisting of the information about classified subgroups.
call:evaluated function call
formula:formula used in the model fitting
data:data used in the model fitting
groupID:information about the classified subgroup
index:index for the optimal subgroup among the candidate K
X:test statistic with the worst pair of subgroups for the split set
Z:overall test statistic with K subgroups using the split set
pair:selected pair of subgroups
split.var:selected covariate in the model fitting
split.pt:selected set of cut-off points
mindat:minimum number of observations at a subgroup
test.stat:Bonferroni corrected p-value matrix. The first row means overall p-values and the second one denotes p-values of the worst-pair against K. The column in the matrix describes the order of K.
over.stat.sample:adjusted overall test statistic by Bootstrapping
pair.stat.sample:adjusted worst-pair test statistic by Bootstrapping
groups:candidate K used in the argument
results:a list of results about each K
Options:tuning parameters
signature(object = "kaps"): Same as the show method without the optional arguments
signature(x = "kaps", K): Same as the print method with the specified number of subgroups K.
signature(x = "kaps", K): Plot an object
signature(object = "kaps"): Predict an object by the estimated cut-off points
signature(object = "kaps"): Summarize an object by survival times for each subgroup
1 | showClass("kaps")
|
Loading required package: survival
Loading required package: Formula
Loading required package: coin
Class "kaps" [package "kaps"]
Slots:
Name: call formula data groupID
Class: language Formula data.frame vector
Name: index X Z pair
Class: integer numeric numeric numeric
Name: split.var split.pt mindat test.stat
Class: character numeric numeric matrix
Name: over.stat.sample pair.stat.sample groups results
Class: matrix matrix vector list
Name: Options
Class: kapsOptions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.