Description Usage Arguments Value Examples
This function returns a Bland-Altman (BA) plot with 95 interval. It also calculates the percentage of error. Data can be converted to relative estimation. Validation of differences normality with Shapiro-Wilk test.
1 |
x |
A numerical vector |
y |
A numerical vector |
title |
The title of the plot |
percent |
bool for relative estimation (default F) |
xlim |
c(x,y) limits on x axis |
ylim |
c(x,y) limits on y axis |
xlab |
x-axis title |
ylab |
y-axis title |
alpha |
point alpha (delfault 0.6) |
pch |
point type (default 19) |
conf.int |
Confidence interval (default 0.95) |
hide.conf.int |
Hide confidence intervals (default FALSE) |
hide.ci.text.plot |
Hide just the confidence interval values on the plot |
reference |
c("A", "B", "mean") method to be used on X axis (default "mean") |
save |
path to save plot (PDF). If only set to TRUE, title is used. |
size |
c(width,height) in inch, default c(11,8.5) |
Base R plot
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.