baplot: Bland-Altman plots

Description Usage Arguments Details Value Author(s) Examples

View source: R/blandaltmanplots.R

Description

Create Bland-Altman plots

Usage

1
2
baplot(x, y, regline = TRUE, la = c("log", "lin", "both"), main = "",
  xlab = "Average", ylab = "Difference")

Arguments

x

a vector or matrix of the observations of one measurment type

y

a vector or matrix of the observations of another measurment type

regline

plot regression line default TRUE

la

limits of agreement log, lin or both

main

title of plot default ""

xlab

x-axis title defaults to "Average"

ylab

y-axis title defaults to "Difference"

Details

Create Bland-Altman plots Optionally with log-transformed limits of agreement on original scale according to Euser et al. Clinical Chemistry 48, No. 5, 2002

Value

plot

Author(s)

mvaniterson

Examples

1
2
3
4
x <- runif(500, 0, 100)
y <- x + runif(500, -5, 5)
baplot(x, y)
plot(x, y)

mvaniterson/wbccPredictor documentation built on May 23, 2019, 10:53 a.m.