R language Access Menu

Title Text Both  

Bland Altman Plot

Suppose xx and yy are measurements made by 2 methods: 

Code:
> xx
 [1] 26 10 18 12 36 15 31 33 15 40 16 30 32 10 26 32 38 39 21 31 10 40 15 32 22 28 35 16 12 31 27 19 37 39 15 28 16 40 24 11 37 10
[43] 26 32 16 36 25 17 37 15
> yy
 [1] 30 11 19 17 34 14 29 29 10 39 20 33 36  6 25 36 42 34 18 31 12 40 12 32 21 30 38 14 10 26 28 24 36 44 12 23 21 41 28 12 32 15
[43] 21 31 13 32 21 13 37 14

Plot of xx with yy shows reasonable correlation: 

Output graph:
              

Following commands produce Bland Altman plot, which is average versus difference plot: 

Code:

    > library(PairedData)
    > plot(paired(xx,yy),type="BA")

Output graph:

                 

References:
Stephane Champely (2013). PairedData: Paired Data Analysis. R package version 1.0.1.
http://CRAN.R-project.org/package=PairedData
    
 


    Comments & Feedback