metafor (version 1.9-9)

fitted.rma: Fitted Values for 'rma' Objects

Description

The function computes the fitted values for objects of class "rma".

Usage

"fitted"(object, ...)

Arguments

object
an object of class "rma".
...
other arguments.

Value

A vector with the fitted values.

References

Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1--48. http://www.jstatsoft.org/v36/i03/.

See Also

predict.rma, blup.rma.uni

Examples

Run this code
### meta-analysis of the log relative risks using a mixed-effects model
### with two moderators (absolute latitude and publication year)
res <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg,
           mods = ~ ablat + year, data=dat.bcg)
fitted(res)

Run the code above in your browser using DataLab