Function for Multivariable Survival Analysis using Cox-regression.

multisurvival(
  data,
  elapsedtime,
  tint = FALSE,
  dxdate,
  fudate,
  outcome,
  outcomeLevel,
  dod,
  dooc,
  awd,
  awod,
  explanatory,
  contexpl,
  multievent = FALSE,
  analysistype = "overall",
  timetypedata = "ymd",
  timetypeoutput = "months",
  hr = FALSE,
  sty = "t1",
  km = FALSE,
  ac = FALSE,
  adjexplanatory,
  endplot = 60,
  byplot = 12,
  ci95 = FALSE,
  risktable = FALSE
)

Arguments

data

The data as a data frame.

elapsedtime

.

tint

.

dxdate

.

fudate

.

outcome

.

outcomeLevel

.

dod

.

dooc

.

awd

.

awod

.

explanatory

.

contexpl

.

multievent

.

analysistype

.

timetypedata

select the time type in data

timetypeoutput

select the time type in output

hr

.

sty

.

km

.

ac

.

adjexplanatory

.

endplot

.

byplot

.

ci95

.

risktable

.

Value

A results object containing:

results$todoa html
results$texta html
results$text2a html
results$plotan image
results$plot3an image
results$plotKMan image
results$plot7an image
results$calculatedtimean output
results$outcomeredifenedan output

Examples

if (FALSE) { # example will be added }