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",
km = FALSE,
endplot = 60,
byplot = 12,
ci95 = FALSE,
risktable = FALSE,
censored = FALSE,
pplot = TRUE
)
The data as a data frame.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
select the time type in data
select the time type in output
.
.
.
.
.
.
.
.
.
.
.
A results object containing:
results$todo | a html | ||||
results$text | a html | ||||
results$text2 | a html | ||||
results$plot | an image | ||||
results$plot3 | an image | ||||
results$plotKM | an image | ||||
results$calculatedtime | an output | ||||
results$outcomeredifened | an output |
if (FALSE) {
# example will be added
}