Skip to contents

Plots a Bland-Altman agreement analysis.

Usage

# S3 method for class 'BlandAltman'
plot(
  x,
  main = "",
  xlab = "Mean",
  ylab = "Difference",
  xlim = NULL,
  ylim = NULL,
  pch = 16,
  col = NULL,
  grid = TRUE,
  meanLine = TRUE,
  limits = TRUE,
  conf.band = FALSE,
  trend = FALSE,
  showText = TRUE,
  stamp = NULL,
  ...
)

Arguments

x

an object of class "blandAltman".

main

plot title.

xlab

X-axis label.

ylab

Y-axis label.

xlim

X-axis limits.

ylim

Y-axis limits.

pch

plotting symbol.

col

point colour.

grid

logical; draw a background grid.

meanLine

logical; draw the bias line.

limits

logical; draw the limits of agreement.

conf.band

logical; draw confidence bands.

trend

logical; draw a regression line of differences versus means.

showText

logical; annotate bias and limits.

stamp

optional plot stamp.

...

further arguments passed to plot().

Value

Invisibly returns x.

Details

Objects of class "blandAltman" are typically created with DescToolsX::blandAltmanData().

See also