Comparing Survival Outcomes

comparingSurvival(
  data,
  times,
  status,
  groups,
  ciyn = FALSE,
  loglogyn = FALSE,
  timeunits = "None"
)

Arguments

data

.

times

.

status

.

groups

.

ciyn

.

loglogyn

.

timeunits

.

Value

A results object containing:

results$texta preformatted
results$compsurvTable1a table
results$compsurvTable2a table
results$compsurvTable3a table
results$plotan image
results$plot2an image

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

results$compsurvTable1$asDF

as.data.frame(results$compsurvTable1)