Skip to contents

Overall, Cause Specific, and Competing Survival.

Usage

competingsurvival(
  data,
  explanatory,
  overalltime,
  outcome,
  dod,
  dooc,
  awd,
  awod,
  analysistype = "overall"
)

Arguments

data

The data as a data frame.

explanatory

.

overalltime

.

outcome

.

dod

.

dooc

.

awd

.

awod

.

analysistype

.

Value

A results object containing:

results$todoa html
results$summarya html
results$survivalTablea table
results$cuminca table
results$comprisksPlotan image
results$interpretationa html

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$survivalTable$asDF

as.data.frame(results$survivalTable)

Examples

# \donttest{
# example will be added
# }