se {metafor} | R Documentation |
Extract the Standard Errors from 'rma' Objects
Description
Function to extract the standard errors from objects of class "rma"
.
Usage
se(object, ...)
## Default S3 method:
se(object, ...)
## S3 method for class 'rma'
se(object, ...)
Arguments
object |
an object of class |
... |
other arguments. |
Value
A vector with the standard errors.
Author(s)
Wolfgang Viechtbauer (wvb@metafor-project.org, https://www.metafor-project.org).
References
Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1–48. https://doi.org/10.18637/jss.v036.i03
See Also
rma.uni
, rma.mh
, rma.peto
, rma.glmm
, and rma.mv
for functions to fit models for which standard errors can be extracted.
Examples
### calculate log risk ratios and corresponding sampling variances
dat <- escalc(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat.bcg)
### fit mixed-effects model with absolute latitude and publication year as moderators
res <- rma(yi, vi, mods = ~ ablat + year, data=dat)
res
### extract model coefficients
coef(res)
### extract the standard errors
se(res)
[Package metafor version 4.8-0 Index]