Description Usage Arguments Details Value Examples
View source: R/create_INLA_dat_pair.R
create_INLA_dat_pair
creates two dataframes, one to use in
a contrast based and the other in an arm-based pairwise meta-analysis.
1 | create_INLA_dat_pair(ntrt, nctrl, ptrt, pctrl, cov = NULL)
|
ntrt |
Number of subjects in treatment arm |
nctrl |
Number of subjects in control arm |
ptrt |
Number of events in treatment arm |
pctrl |
Number of events in treatment arm |
cov |
Optional argument to include a covariate in the model |
The resulting data.frame can be used as data argument in
meta_inla
.
A list of two dataframe objects
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.