Model Matrix for 'rma' Objects
The function extracts the model matrix for objects of class "rma"
.
## S3 method for class 'rma' model.matrix(object, ...)
object |
an object of class |
... |
other arguments. |
The model matrix.
Wolfgang Viechtbauer wvb@metafor-project.org http://www.metafor-project.org/
Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1–48. https://www.jstatsoft.org/v036/i03.
### meta-analysis of the log risk ratios using a mixed-effects meta-regression model ### with multiple moderators (absolute latitude, publication year, and allocation method) res <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, mods = ~ ablat + year + alloc, data=dat.bcg) model.matrix(res)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.