plot.rfh {saeRobust} | R Documentation |
Plots
Description
Various implementations of diagnostic plots. They are linked together using the plot generic function.
Usage
## S3 method for class 'rfh'
plot(x, y, ...)
## S3 method for class 'prediction.fitrfh'
plot(x, y, alpha = 0.05, ...)
## S3 method for class 'mse.fitrfh'
plot(x, y = "pseudo", xlim = NULL, ylim = NULL, ...)
qqPlot(sample)
blandAltmanPlot(x, y, alpha = 0.05)
Arguments
x |
an object |
y |
for mse estimates a filter for the predictors; otherwise ignored |
... |
ignored |
alpha |
(numeric) between 0 and 1 - used in computation of confidence interval |
xlim , ylim |
arguments are passed to coord_cartesian and coord_flip. |
sample |
(numeric) a vector |
Details
qqPlot
a QQ-Plot using ggplot2
blandAltmanPlot
a Bland-Altman plot. Solid line is the mean. Dashed
lines are the upper and lower bound of the limits-of-aggreements: z-quantile
* sd(x - y) – not the standard error. The alpha level can be set using
alpha
. This plot is otherwise known as Tukey's mean-difference plot.
Examples
qqPlot(rnorm(10))
blandAltmanPlot(rnorm(10), rnorm(10))
[Package saeRobust version 0.5.0 Index]