plot.AD_envelope {asympDiag} | R Documentation |
Envelope Plot
Description
Plot AD_envelope
Usage
## S3 method for class 'AD_envelope'
plot(
x,
colors = getOption("asympDiag.plot.AD_envelope.colors"),
xlab = "Expected quantiles",
ylab = "Observed quantiles",
distribution = function(p) stats::qnorm((1 + p)/2),
ylim = base::range(c(x$observed, x$lower, x$upper), na.rm = TRUE, finite = TRUE),
...
)
Arguments
x |
AD_envelope object, usually the result of |
colors |
Vector of length 2, with color for points outside and inside the envelope band, respectively. |
xlab |
The label for the x-axis. |
ylab |
The label for the y-axis. |
distribution |
quantile function for reference theoretical distribution. |
ylim |
the y limits of the plot. |
... |
extra arguments passed to graphics::plot |
Details
Create envelope plot. The expected quantile, by default, is from a half-normal
distribution, as the default residuals from envelope_residual()
are absolute.
You may replace it with the distribution
argument.
Value
No return value, called for side effects
[Package asympDiag version 0.3.1 Index]