agree.plot: Visualize the Agreement of Ratings among Different Raters
Description
Draw Bland-Altman plot(s) and scatter plot(s) with identity line.
Usage
agree.plot(ratings, NAaction=c("fail", "omit"))
Arguments
ratings
a matrix of ratings from different raters, one
rater per column.
NAaction
a character string specifying what should happen
when the data contain NAs. It must be one of "fail"
and "omit" and may be abbreviated. The default is "fail" that causes
the function to print an error message and terminate if there are
any incomplete observations. If it is "omit", then the entire row(s)
containing incomplete observation(s) will be deleted.
Value
NULL
Details
The function produces a matrix of plots. The upper panel consists
of scatter plot(s) with identity line. The lower panel consists
of the Bland-Altman plot(s) with confidence bounds and bias using dotted
line in red color and the horizontal line passing through the origin
in black, respectively.
References
J. Martin Bland and Douglas G. Altman (1986)
Statistical methods for assessing agreement between
two methods of clinical measurement.
Lancet1 307-310