BivCauseHaz: Output the bivariate cause specific cumulative hazard and...

Description Usage Arguments Value

View source: R/BivCauseHaz.R

Description

This takes survival times and censoring/cause indicators for two variables and outputs the bivariate cause specific cumulative hazard and jumps in the bivariate cause specific cumulative hazard

Usage

1
BivCauseHaz(data, cause1, cause2)

Arguments

data

An n by 4 matrix where the first column is the observed event time of the first variable, the second column is the observed event time of the second variable, the third column is the censoring/cause indicator for the first variable (0 indicates censored) and the fourth column is the censoring/cause indicator for the second variable (0 indicates censored)

cause1

An indicator of which cause to calculate the cause specific hazard for for the second variable, should be a non-zero value that appears in the cencoring/cause indicator column for the second variable

Value

A list with the following elements:


blangworthy/survPCA documentation built on Oct. 3, 2020, 3:04 p.m.