bubble: Bubble plots for meta-regression models

View source: R/bubble.R

bubbleR Documentation

Bubble plots for meta-regression models

Description

Bubble plots for meta-regression models

Usage

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

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?

Value

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

See Also

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


wwiecek/baggr documentation built on April 5, 2025, 11:26 a.m.