plot_fitted {countSTAR} | R Documentation |
Plot the fitted values and the data
Description
Plot the fitted values, plus pointwise credible intervals, against the data. For simulations, one may use the true values in place of the data.
Usage
plot_fitted(y, post_y, y_hat = NULL, alpha = 0.05, ...)
Arguments
y |
|
post_y |
|
y_hat |
|
alpha |
confidence level for the credible intervals |
... |
other arguments for plotting |
Value
A plot with the fitted values and the credible intervals against the data
[Package countSTAR version 1.0.2 Index]