Survival Analysis for Continuous Variable
survivalcont(
data,
elapsedtime,
tint = FALSE,
dxdate,
fudate,
contexpl,
outcome,
outcomeLevel,
dod,
dooc,
awd,
awod,
analysistype = "overall",
cutp = "12, 36, 60",
timetypedata = "ymd",
timetypeoutput = "months",
uselandmark = FALSE,
landmark = 3,
sc = FALSE,
kmunicate = FALSE,
ce = FALSE,
ch = FALSE,
endplot = 60,
byplot = 12,
findcut = FALSE,
multievent = FALSE,
ci95 = FALSE,
risktable = FALSE
)
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$coxSummary | a preformatted | ||||
results$coxTable | a table | ||||
results$tCoxtext2 | a html | ||||
results$rescutTable | a table | ||||
results$plot4 | an image | ||||
results$plot5 | an image | ||||
results$medianSummary | a preformatted | ||||
results$medianTable | a table | ||||
results$survTableSummary | a preformatted | ||||
results$survTable | a table | ||||
results$plot2 | an image | ||||
results$plot3 | an image | ||||
results$plot6 | an image | ||||
results$calculatedtime | an output | ||||
results$outcomeredifened | an output | ||||
results$calculatedcutoff | an output |
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$coxTable$asDF
as.data.frame(results$coxTable)