Generates prediction intervals and orchard plots for
meta-analytic and meta-regression models fitted with the 'metafor'
package. Orchard plots augment classic forest plots by displaying
individual effect sizes together with group means and their confidence
and prediction intervals, providing an enhanced visualization of
meta-analytic data for ecology, evolution, and beyond. Methods are
described in Nakagawa et al. (2023)
To cite orchaRd 2.0 in publications one can use the following reference:
Shinichi Nakagawa, Malgorzata Lagisz, Rose E. O'Dea, Patrice Pottier, Joanna Rutkowska, Alistair M. Senior, Yefeng Yang, Daniel W.A. Noble. 2023. orchaRd 2.0: An R package for visualizing meta-analyses with orchard plots. Methods in Ecology and Evolution, https://doi.org/10.1111/2041-210X.14152 (preprint = EcoEvoRxiv, https://doi.org/10.32942/X2QC7).
For earlier versions please cite:
Nakagawa, S., Lagisz, M., O'Dea, R. E., Rutkowska, J., Yang, Y., Noble, D. W., & Senior, A. M. (2019). The Orchard Plot: Cultivating Forest Plots for Use in Ecology, Evolution and Beyond. Research Synthesis Methods https://doi.org/10.1002/jrsm.1424 12: 4-12 (preprint = EcoEvoRxiv https://doi.org/10.32942/osf.io/epqa7)
To install orchaRd use the following code in R:
install.packages("pacman")
pacman::p_load(devtools, tidyverse, metafor, patchwork, R.rsp, emmeans)
devtools::install_github("daniel1noble/orchaRd", force = TRUE)
library(orchaRd)
We detail how to use the orchaRd package in the vignette.
Please note that orchaRd 2.0 is still under active development and testing. If you use it, you should check that the results are what you expect. We do have a number of tests already in place, but there may still be situations where it fails. If you find a bug or a situation that doesn't match your expectations let us know by lodging an issue on GitHub.
tree.order argument to mod.order throughout the package, vignette, and documentation for clarity and consistency.k.size, est, and est.size arguments to orchard_plot() for flexible annotation of sample size and effect estimates.orchard_plot() now preserves the order of moderator levels as they appear in the data (fixes legend/plot alignment, #92).flip (#33).flip=FALSE (#34).k.size, est, and est.size.broom, gt, and patchwork (closes #93).See the vignette for usage examples of new features.