szero: szero function

Description Usage Arguments Value

View source: R/auxilliaryfunction.R

Description

The s_zero function defined in the paper

Usage

1
szero(survtime, cause = NULL, comp = FALSE, censorsurv = NULL)

Arguments

survtime

the event time

cause

the indicator records the cause. Default to all one. Zero means right censoring. Greater than or equal to two means other cause.

comp

the indicator of whether modeling subdistribution hazard

censorsurv

the estimate for the censoring distribution

Value

s_zero defined in the paper


andrewyyp/tsriadditive documentation built on May 25, 2019, 9:23 a.m.