powered by
Auxiliary functions for obtain the differences and means of a measurement pair, as used in the classic Bland-Altman analysis.
diffs(y1, y2)means(y1, y2)
means(y1, y2)
Numeric vector with the differences or means of y1 and y2, respectively.
y1
y2
numeric. Vectors of numeric measurements of the same length.
## pair of measurements y1 <- 1:4 y2 <- c(2, 2, 1, 3) ## differences and means diffs(y1, y2) means(y1, y2)
Run the code above in your browser using DataLab