autoplot.LoA: Bland and Altman Plot with Limits of Agreement

View source: R/LoA.R

autoplot.LoAR Documentation

Bland and Altman Plot with Limits of Agreement

Description

Display a Bland and Altman plot with limits of agreement.

Usage

## S3 method for class 'LoA'
autoplot(
  object,
  display.ci = TRUE,
  plot = TRUE,
  line.size = 1.5,
  alpha = 0.25,
  name.legend = "",
  labels = c("bias", "LoA (lower)", "LoA (upper)"),
  colors = c("red", "blue", "forestgreen"),
  linetype = c(1, 2, 2),
  ...
)

Arguments

object

An object of class LoA, output of the LoA function.

display.ci

[logical] should the confidence intervals be displayed?

plot

[logical] should the plot be printed?

line.size

[numeric >0] the width of the horizontal lines.

alpha

[numeric 0-1] transparency parameter for the confidence intervals.

name.legend

[character] character string displayed in the caption.

labels

[character of length 3] text shown in the caption for the bias, lower, and upper LoA.

colors

[character of length 3] colors used to display the bias, lower, and upper LoA.

linetype

[numeric of length 3] type of lines used to display the bias, lower, and upper LoA.

...

not used, for compatibility with the generic method.


bozenne/butils documentation built on Oct. 14, 2023, 6:19 a.m.