| gsmr {gap} | R Documentation |
The function initially intends to rework on GSMR outputs, but it would be appropriate for general use.
gsmr(data, X, Y, alpha = 0.05, other_plots = FALSE)
data |
Data to be used. |
X |
Exposure. |
Y |
Outcome. |
alpha |
type I error rate for confidence intervals. |
other_plots |
To add funnel and forest plots. |
The result and plots.
library(cowplot)
library(ggplot2)
library(gap)
r <- gsmr(mr, "LIF.R", c("CAD","FEV1"))