GG_forest: Plot a contingency table with ggplot2

View source: R/meta.R

GG_forestR Documentation

Plot a contingency table with ggplot2

Description

Makes a pretty contingency table with ggplot2 using geom_tile.

Usage

GG_forest(.analysis, .names = NULL, .alphabetic_sort_names = T)

Arguments

.analysis

(rma object) The rma analysis from metafor.

.names

(chr vector) An optional vector of names to use.

.alphabetic_sort_names

(lgl sclar) Alphabetically sort names? Default yes.

Examples

library(metafor); data(european_ancestry)
meta = rma(european_ancestry$r, sei = european_ancestry$SE_r)
GG_forest(meta, .names = european_ancestry$Author_sample)

Deleetdk/kirkegaard documentation built on May 8, 2024, 12:27 a.m.