Plots a series of graphical posterior predictive checks for a map
or map2stan
model fit.
postcheck( fit , prob=0.9 , window=20 , n=1000 , col=rangi2 , ... )
A map
or map2stan
model fit
Width of prediction interval to display
Number of cases to display in each plot (for paging)
Number of samples from posterior to use
Additional arguments to pass to plot
This function uses link
and sim
internally to simulate posterior predictions for a fit model. These are then plotted over the observed outcomes used in fitting.