geom_pub_stats_naka: geom_pub_stats_naka

View source: R/pub_bias_plot.R

geom_pub_stats_nakaR Documentation

geom_pub_stats_naka

Description

This function adds a corrected meta-analytic mean, sensu Nakagawa et al. 2022, confidence interval and text annotation to an intercept only orchard plot.

Usage

geom_pub_stats_naka(
  data,
  col = "blue",
  plotadj = -0.05,
  textadj = 0.05,
  branch.size = 1.2,
  trunk.size = 3
)

Arguments

data

The data frame containing the corrected meta-analytic mean and confidence intervals.

col

The colour of the mean and confidence intervals.

plotadj

The adjustment to the x-axis position of the mean and confidence intervals.

textadj

The adjustment to the y-axis position of the mean and confidence intervals for the text displaying the type of correction.

branch.size

Size of the confidence intervals.

trunk.size

Size of the mean, or central point.

Value

A list of ggplot2 objects to be added to the orchard plot.

Author(s)

Daniel Noble - daniel.noble@anu.edu.au


daniel1noble/orchaRd documentation built on May 12, 2024, 7:46 a.m.