sone: sone function

Description Usage Arguments Value

View source: R/auxilliaryfunction.R

Description

The s_one function defined in the paper

Usage

1
sone(survtime, cause = NULL, Z, 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.

Z

a variable contains all the regressors

comp

the indicator of whether modeling subdistribution hazard

censorsurv

the estimate for the censoring distribution

Value

s_one defined in the paper


andrewyyp/tsriadditive documentation built on Dec. 6, 2018, 2:28 a.m.