Learn R Programming

baggr (version 0.7.8)

bubble: Bubble plots for meta-regression models

Description

Bubble plots for meta-regression models

Usage

bubble(bg, covariate, fit = TRUE, label = TRUE)

Value

A simple bubble plot in ggplot style. Dot sizes are proportional to inverse of variance of each study (more precise studies are larger).

Arguments

bg

a baggr() model using summary-level data, with covariates

covariate

one of the covariates present in the model

fit

logical: show mean model prediction? (slope is mean estimate of fixed_effects(), intercept is hypermean()); if you have more than two groups and the covariate is a factor, this will be ignored

label

logical: label study/group names?

See Also

labbe() for an exploratory plot of binary data in similar style