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", sc = FALSE, kmunicate = FALSE, ce = FALSE, ch = FALSE, endplot = 60, byplot = 12, findcut = FALSE, multievent = FALSE, ci95 = FALSE, risktable = FALSE )
data | The data as a data frame. |
---|---|
elapsedtime | . |
tint | . |
dxdate | . |
fudate | . |
contexpl | . |
outcome | . |
outcomeLevel | . |
dod | . |
dooc | . |
awd | . |
awod | . |
analysistype | . |
cutp | . |
timetypedata | select the time type in data |
timetypeoutput | select the time type in output |
sc | . |
kmunicate | . |
ce | . |
ch | . |
endplot | . |
byplot | . |
findcut | . |
multievent | . |
ci95 | . |
risktable | . |
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