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",
  uselandmark = FALSE,
  landmark = 3,
  hr = FALSE,
  sty = "t1",
  ph_cox = 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

uselandmark

.

landmark

.

hr

.

sty

.

ph_cox

.

Value

A results object containing:

results$todoa html
results$texta html
results$text2a html
results$plotan image
results$plot3an image
results$cox_pha preformatted
results$plot8an image
results$calculatedtimean output
results$outcomeredifenedan output

Examples

if (FALSE) {
# example will be added
}