Performs linear and/or nonlinear dose-response meta-regression for binary outcomes using study-level event data. The function supports relative risk (`RR`) and odds ratio (`OR`) effect measures and models the association between dose levels and treatment effects.
mdbin(
measure = c("RR", "OR"),
event.e,
n.e,
event.c,
n.c,
dose,
data,
linear = TRUE,
nonlinear = TRUE,
x_axis = "Dose",
y_axis = "Measured Effect",
knots = c(0.1, 0.5, 0.9)
)An S3 object of class `dose`, which is a list containing:
The fitted linear dose-response meta-regression model.
A plot of the linear dose-response relationship.
The fitted nonlinear dose-response meta-regression model.
A plot of the nonlinear dose-response relationship.
Character string specifying the effect size measure.
Options are "RR" for relative risk or "OR" for odds ratio.
Numeric vector of numbers of events in the experimental group.
Numeric vector of sample sizes in the experimental group.
Numeric vector of numbers of events in the control group.
Numeric vector of sample sizes in the control group.
Numeric vector of dose levels corresponding to each study.
A data frame containing the meta-analysis data.
Logical; if TRUE, a linear dose-response model is fitted.
Logical; if TRUE, a nonlinear dose-response model using
restricted cubic splines is fitted.
Character string specifying the x-axis label for plots.
Character string specifying the y-axis label for plots.
Numeric vector of quantiles used to place knots for the nonlinear restricted cubic spline model.
Ahmed Abdelmageed ahmedelsaeedmassad@gmail.com
The function computes logarithmic effect sizes and corresponding sampling variances from binary outcome data. Linear and/or nonlinear dose-response meta-regression models are then fitted, with nonlinear relationships modeled using restricted cubic splines. Dose-response plots are generated to visualize the fitted associations.
mdcont for dose-response meta-regression with continuous outcomes.