
coef
function extracts the estimated model coefficients from objects of class "rma"
. For objects of class "summary.rma"
, the model coefficients, corresponding standard errors, test statistics, p-values, and confidence interval bounds are extracted.## S3 method for class 'rma':
coef(object, \dots)
## S3 method for class 'summary.rma':
coef(object, \dots)
"rma"
or "summary.rma"
.knha=TRUE
in the rma.uni
function), then zval
is called tval
in the data frame that is returned by the function.rma.uni
, rma.mh
, rma.peto
, rma.glmm
### load BCG vaccine data
data(dat.bcg)
### meta-analysis of the log relative risks using a mixed-effects model
### with two moderators (absolute latitude and publication year)
res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg, mods = ~ ablat + year,
data=dat.bcg, measure="RR", method="REML")
coef(res)
coef(summary(res))
Run the code above in your browser using DataLab