View source: R/coxph_meta_analysis.R
coxph_meta_analysis | R Documentation |
This code generates a forestplot from a meta analysis coxph model.
coxph_meta_analysis(
data,
time,
status,
vars,
var,
meta.group,
weights = NULL,
univariate = FALSE,
na.rm = FALSE,
...
)
data |
data |
time |
the time interval from start of observation until date of event (e.g. disease progression or death) or censoring. |
status |
variable specifying if event occured or data has been censored. |
vars |
variables tested for Influence on outcome. |
var |
grouping variable |
meta.group |
variable for which meta analysis should be conducted. Usually the outcome of interest (e.g. treatment). |
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. |
univariate |
Logical value. If TRUE output of univariate cox regression is printed. Else output of multivariate cox regression is printed. Default is FALSE. |
na.rm |
logical indicating whether missing values (Specified as "missing" or "Missing") should be removed |
... |
additional arguments passed on to coxph |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.