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
)

Arguments

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

.

Value

A results object containing:

results$todoa html
results$coxSummarya preformatted
results$coxTablea table
results$tCoxtext2a html
results$rescutTablea table
results$plot4an image
results$plot5an image
results$medianSummarya preformatted
results$medianTablea table
results$survTableSummarya preformatted
results$survTablea table
results$plot2an image
results$plot3an image
results$plot6an image
results$calculatedtimean output
results$outcomeredifenedan output
results$calculatedcutoffan output

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$coxTable$asDF

as.data.frame(results$coxTable)