View source: R/cox_table_combined.R
| cox_table_combined | R Documentation | 
This function combines the results of a univariable, full multivariable model and a backwards selection model.
cox_table_combined(
  data,
  time,
  time2 = NULL,
  status,
  vars,
  fixed.var = NULL,
  rgroup = NULL,
  p.thres = 0.1,
  footnote = NULL,
  output = "html",
  ...
)
| data | data.frame or data.table containing survival data. | 
| time | the time interval from start of observation until date of event (e.g. disease progression or death) or censoring. | 
| time2 | ending time of the interval for interval censored or counting process data only. Intervals are assumed to be open on the left and closed on the right, (start, end]. For counting process data, event indicates whether an event o | 
| status | variable specifying if event occured or data has been censored. | 
| vars | one or more variables defined as character strings to be included in the table | 
| fixed.var | specifies fixed variables to be included in the cox model. | 
| rgroup | a vector of character strings containing headings for row groups. | 
| p.thres | pvalue threshold for backwards selection model. | 
| footnote | character string passed on to  | 
| output | string specifying the type of output. Allowed values are "html" generating a htmlTable, "flex" generating a flextable or "df" returning a data.frame | 
| ... | additional arguments to be passed on to  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.