diffs {coat} | R Documentation |
Convenience Functions for Bland-Altman Analysis
Description
Auxiliary functions for obtain the differences and means of a measurement pair, as used in the classic Bland-Altman analysis.
Usage
diffs(y1, y2)
means(y1, y2)
Arguments
y1 , y2 |
numeric. Vectors of numeric measurements of the same length. |
Value
Numeric vector with the differences or means of y1
and y2
,
respectively.
Examples
## pair of measurements
y1 <- 1:4
y2 <- c(2, 2, 1, 3)
## differences and means
diffs(y1, y2)
means(y1, y2)
[Package coat version 0.2.0 Index]