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 = "Rate of The Control Group (logit scale)",
  y.lab = "No improvement <- Treatment effect -> Improvement",
  title.plot = "Treatment Effect Against Baseline Risk",
  names = NULL,
  name.side = NULL,
  ...
)

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.

names

Add IPD names to the plot.

name.side

Set the side of each name in the plot relative to the vertical line.

...

...


[Package jarbes version 2.0.0 Index]