Probs.Sub {CureAuxSP}R Documentation

Calculate subgroup survival probabilities

Description

Calculate Subgroup survival probabilities basedon the Kaplan-Meier estimation procedure

Usage

Probs.Sub(tstar, sdata, G)

Arguments

tstar

time points that the survival probabilities will be estimated at.

sdata

a survival dataset (dataframe) in which to interpret the variables named in the formula and the cureform.

G

a matrix used to indicate which subgroups he/she belongs to for each of these subjects.

Value

It returns the estimated subgroup survival probabilities for a given survival dataset.


[Package CureAuxSP version 0.0.1 Index]