survival: Survival Analysis

Description Usage Arguments Value Examples

View source: R/survival.h.R

Description

Function for Generating Summaries for Survival Analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
survival(
  data,
  explanatory,
  overalltime,
  outcome,
  cutp = "12, 36, 60",
  sc = FALSE,
  ce = FALSE,
  ch = FALSE
)

Arguments

data

The data as a data frame.

explanatory

.

overalltime

.

outcome

.

cutp

.

sc

.

ce

.

ch

.

Value

A results object containing:

results$todo a html
results$text2 a preformatted
results$text1html a html
results$text5 a preformatted
results$text4 a html
results$text7 a preformatted
results$text6 a html
results$text8 a preformatted
results$text9 a preformatted
results$plot an image
results$plot2 an image
results$plot3 an image

Examples

1
2
3
4
## Not run: 
# example will be added

## End(Not run)

sbalci/ClinicoPath documentation built on Jan. 8, 2021, 7:41 a.m.