Description Usage Arguments Details Author(s)
The Bland-Altman plot places the difference between two
measures (such as observations between two readers) on the
y-axis against the pair-wise means of the observations on
the x-axis. The confidence limits of the differences are
plotted. A plot of good agreement should have a random
dispersal of points within the confidence limits, and at
least 95
Using ggplot
, these plots can be generated in a grid
with each panel having limits calculated independently of
the others.
1 | BlandAltman(data, x1, x2, alpha = 0.05, gg_expr = list())
|
data |
A data frame. |
alpha |
The significance level, or 1 - the confidence level. |
gg_expr |
A list of additional layers to be added to
the |
x |
a numeric vector giving one set of values for comparison |
y |
a numeric vector giving the second set of values for comparison |
The use of colour
, shape
, and other
ggplot
aesthetics is not recommended with this
function. Any data within the panel will be included in
the calculation of the confidence limits. If additional
aesthetics are being used to show strata of data, these
confidence limits will not be correctly calculated.
Benjamin Nutter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.