Description Usage Arguments Examples
Plot a Bland-Altman chart from the results of blandr
objects
using the in-built rplot drawing functions
1 2 3 4 5 6 7 8 | ## S3 method for class 'blandr'
plot(x, method1name = "Method 1",
method2name = "Method 2",
plotTitle = "Bland-Altman plot for comparison of 2 methods",
sig.level = 0.95, LoA.mode = 1, annotate = FALSE,
ciDisplay = TRUE, ciShading = TRUE, normalLow = FALSE,
normalHigh = FALSE, lowest_y_axis = FALSE, highest_y_axis = FALSE,
point_size = 0.8, ...)
|
x |
a blandr class object, the results from |
method1name |
(Optional) Plotting name for 1st method, default 'Method 1' |
method2name |
(Optional) Plotting name for 2nd method, default 'Method 2' |
plotTitle |
(Optional) Title name, default 'Bland-Altman plot for comparison of 2 methods' |
annotate |
(Optional) TRUE/FALSE switch to provides annotations to plot, default=FALSE |
ciDisplay |
(Optional) TRUE/FALSE switch to plot confidence intervals for bias and limits of agreement, default=TRUE |
ciShading |
(Optional) TRUE/FALSE switch to plot confidence interval shading to plot, default=TRUE |
normalLow |
(Optional) If there is a normal range, entering a continuous variable will plot a vertical line on the plot to indicate its lower boundary |
normalHigh |
(Optional) If there is a normal range, entering a continuous variable will plot a vertical line on the plot to indicate its higher boundary |
point_size |
(Optional) Size of marker for each dot. Default is cex=0.8 |
... |
other arguments |
plot.limits |
A list of statistics generated by the blandr.plot.limits function to define the extent of the x- and y- axes: see the function's return list to see what variables are passed to this function |
1 2 3 | results = blandr.statistics( Method.B ~ Method.A , data = giavarina.2015 )
results
plot(results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.