View source: R/outcome_table_survival.R
| outcome_table_survival | R Documentation | 
Wrapper around add_median_survival to transform the data to htmltable format in order to be used in display
with htmlTable::htmlTable. If time and status of
outcome_table_survival(
  data,
  time,
  status,
  surv_names,
  var,
  bestres = NULL,
  weights = NULL,
  html = TRUE,
  ORR = NULL,
  DCR = NULL,
  statistics = TRUE,
  footnote = NULL,
  font = "calibri",
  ...
)
data | 
 data.frame or data.table  | 
time | 
 Time for survival  | 
status | 
 censor variable  | 
surv_names | 
 names of the survival to be displayed in the table (e.g "Median PFS (95% CI)")  | 
var | 
 Variable tested for Influence on outcome  | 
bestres | 
 column containing data for best response  | 
weights | 
 character variable specifying the name of the weights column. Weights have to be added to the original dataframe in order to be applied correctly.  | 
html | 
 logical indicating whether output should be in html format. Defautl is TRUE.  | 
ORR | 
 column containing data for over all response rate  | 
DCR | 
 column containing data for disease control rate  | 
statistics | 
 Logical value. If TRUE pvalue is printed. Default is TRUE. Default test statistics are wilcoxon (or anova if n > 2)  | 
footnote | 
 add footnote  | 
font | 
 font style for the table  | 
... | 
 add additional css styling arguments to addHtmlTableStyle from the   | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.