Description Usage Arguments Details Author(s) Examples
View source: R/bland_altman_plot.R
This function produces the extended Bland-Altman Limits of Agreement (LoA) plot when there are repeated measurements with possibly heteroscedastic variance of measurement errors.
1 | bland_altman_plot(data, new = "y1", Ref = "y2", ID = "id", fill = TRUE)
|
data |
a dataframe contains the object identification number (id), the measurement values from the new measurement method (y1) and those from the reference standard (y2) |
new |
specify the variable name or location for the new measurement method |
Ref |
specify the variable name or location for the reference measuerment method |
ID |
specify the variable name for location for the subject identification number (id) |
fill |
logical. if |
This functions computes the limits of agreement (LoA) when there are repeated measurements and possibly heteroscedastic variance of measurement errors
Mingkai Peng & Patrick Taffé
1 2 3 4 | ### Load the data
data(data1)
### Bland and Altman's plot
bland_altman_plot(data1)
|
Loading required package: nlme
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.