plot.accruedErrors {accrued} | R Documentation |
Plots errors in partially accruing data, optionally with quantiles of those errors superimposed.
## S3 method for class 'accruedErrors' plot(x, withSmoothing = FALSE, quantiles = c(0.1, 0.5, 0.9), quantileColors = switch(1+is.null(quantiles), rainbow(length(quantiles)), NULL), ...)
x |
Object of the |
withSmoothing |
Logical. If |
quantiles |
A vector of quantiles to be plotted. |
quantileColors |
Colors to use for quantiles. |
... |
Parameters to pass to |
Produces a scatter plot of errors for each lag value, with the x-axis representing lag and the y-axis the error values. The x-value are jittered prior to plotting. If quantiles is specified, the corresponding quantiles of the errors will be superimposed on the plot.
None.
Julie Eaton and Ian Painter
accruedErrors
,
data.accrued
,
summary.accruedErrors
data(accruedDataExample) # simulated accrued data dat <- data.accrued(accruedDataExample) errors <- accruedErrors(dat) plot(errors)