format_data_ourmethod: Format observed data for TM (Tayob and Murray method)

Description Usage Arguments Value Author(s) References

View source: R/TM.R

Description

Formats the data for the method described in Tayob, Murray 2015. This function is for internal use by TM().

Usage

1
format_data_ourmethod(X, delta, Z, t)

Arguments

X

vector containing observed time to terminating event

delta

vector that is 1 if terminating event is observed and 0 if patient is censored

Z

array of times to recurrent events. Number of columns corresponds to maximum number of recurrent events observed for a patient

t

vector containing start times of follow-up windows chosen

Value

a list containing

Author(s)

Nabihah Tayob

References

Tayob, N. and Murray, S., 2014. Nonparametric tests of treatment effect based on combined endpoints for mortality and recurrent events. Biostatistics, 16(1), pp.73-83.


umich-biostatistics/corrsurv documentation built on Jan. 11, 2020, 2:03 a.m.