resid_plot {simts} | R Documentation |
Plot the Distribution of (Standardized) Residuals
Description
This function plots a histogram (with kernel density function and normal distribution) of the standardized
residuals or a basic plot the (standardized) residuals, or both.
Usage
resid_plot(res, std = FALSE, type = "hist", ...)
Arguments
res |
A vector of residuals.
|
std |
A boolean indicating whether the residuals plot is for standardized
residuals or original residuals.
|
type |
A string indicating either:
"hist" (standardized residual histogram with superimposed kernel density estimator and normal distribution), "resid" (standard residual plot),
or "both"
|
... |
Additional parameters
|
Author(s)
Yuming Zhang
[Package
simts version 0.2.2
Index]