Generic plot function for hmr object in jarbes.
# S3 method for hmr
plot(
x,
x.lim = c(-5, 2.8),
y.lim = c(-2, 1),
x.lab = "Event rate of The Control Group (logit scale)",
y.lab = "No improvement <- Effectiveness -> Improvement",
title.plot = "HMR: Effectiveness Against Baseline Risk",
AD.colour = "red",
IPD.colour = "blue",
Study.Types = c("AD-RCTs", "IPD-RWD"),
...
)
The object generated by the hmr function.
Numeric vector of length 2 specifying the x-axis limits.
Numeric vector of length 2 specifying the y-axis limits.
Text with the label of the x-axis.
Text with the label of the y-axis.
Text for setting a title in the plot.
Colour of the location of the baseline risk of the aggregated data AD
Colour of the location of the baseline risk of the individual participant data (IPD) data
Vector of text for the label of the study types
...