funnel: Funnel plot

Description Usage Arguments Details Value Examples

View source: R/funnel.R

Description

Creates a funnel plot of an rrma object. The y-axis shows the study-level standard error (square root of the study-level variances) and the x-axis shows the residuals.

Usage

1
  funnel(x)

Arguments

x

An rrma meta-analysis object.

Details

Residuals are coloured according to the study ID. For now the colours are hardcoded to Dark2 from RColorBrewer and will only appear if there are 9 or fewer studies.

Value

A funnel plot.

Examples

1
2
3
4
data(broad)
m <- rrma(formula = lnorReg ~ d18OresidualMean.cent, data =
broad, study_id = study.ID, var_eff = vlnorReg, rho = 0.5)
funnel(m)

seananderson/robustmeta documentation built on May 29, 2019, 4:25 p.m.