bland.altman.ade {epade} | R Documentation |
Bland-Altman plot
Description
Plot for assessing agreement between two methods of clinical measurement
Usage
bland.altman.ade(x, y, data=NULL, ltext=TRUE, main="Bland-Altman Plot",
xlab=NULL, ylab=NULL, xlim=NULL, ylim=NULL,
lwd=2, cex=1, pch=16, lty=c(1,2,2), xticks=NULL, yticks=NULL,
col=NULL, tcol=NULL, bgcol=NULL, lcol=c(4,2,2), alpha=NULL,
fitline=1, wall=0, v=NULL, h=NULL, span=0.75)
Arguments
x |
|
y |
|
data |
data.frame if used strings for (x,y) |
ltext |
|
main |
an overall title for the plot |
xlab |
a title for the x axis |
ylab |
a title for the y axis |
xlim |
the x limits (x1, x2) of the plot |
ylim |
the y limits (y1, y2) of the plot |
lwd |
the line width |
cex |
character (or symbol) expansion: a numerical value |
pch |
plotting "character", i.e., symbol to use. This can either be a single character or an integer code for one of a set of graphics symbols. |
lty |
the line type, a vector is possible |
xticks |
the number of ticks on the x axis or a vector of exact ticks |
yticks |
the number of ticks on the y axis or a vector of exact ticks |
col |
color of the points |
tcol |
color of the text in whole plot |
bgcol |
the background color for plot dekoration |
lcol |
color for the lines in plot, a vector of colors is possible |
alpha |
a parameter in [0, 1] for semi-transparency of points |
fitline |
a number between 0 and 3 to fit:
|
wall |
a number between 0 and 6 for selection the dekoration style of the plot. |
v |
the x-value(s) for vertical line(s). |
h |
the y-value(s) for horizontal line(s). |
span |
the span parameter for lowess curve fit (only if fitline=2) |
Details
It is only a Wrapper function for scatter.ade. Ploting the Difference against the mean for both variables.
See Also
Examples
x<-rnorm(1000, 0, 3)
y<-x+rnorm(1000, 1, 0.5)
bland.altman.ade(x, y, wall=2)