plot.hmr {jarbes}R Documentation

Generic plot function for hmr object in jarbes.

Description

Generic plot function for hmr object in jarbes.

Usage

## S3 method for class '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"),
  ...
)

Arguments

x

The object generated by the hmr function.

x.lim

Numeric vector of length 2 specifying the x-axis limits.

y.lim

Numeric vector of length 2 specifying the y-axis limits.

x.lab

Text with the label of the x-axis.

y.lab

Text with the label of the y-axis.

title.plot

Text for setting a title in the plot.

AD.colour

Colour of the location of the baseline risk of the aggregated data AD

IPD.colour

Colour of the location of the baseline risk of the individual participant data (IPD) data

Study.Types

Vector of text for the label of the study types

...

...


[Package jarbes version 2.2.1 Index]