Plot tessellation deviance residuals
Plot an image of tessellation deviance residuals for a space-time point process.
Arguments for use with
A vector of colors in hexadecimal format.
A vector of cut points for assigning the colors in
cutoffs must be a vector of increasing values of the same length as
col.key plus 1.
cutoffs divides the residual values in
x$residuals into a number of intervals equal to the number of colors in
col.key. The colors are assigned to the intervals in order, e.g. the first color in
col.key will be plotted in the cells defined by the tessellation in
x$tile.list that contains a residual that falls anywhere in the first interval (lower bound inclusive, upper bound exclusive).
col.key is a vector of 100
heat colors in reverse. Default
cutoffs is a vector of 101 equally spaced points that range from the minimum residual in
x$residuals, minus a very small number, to the maximum residual, plus a very small number.
cutoffs may not be useful if the residuals are highly skewed. In this case, there should be more values in
cutoffs where the residuals are most dense.
These are simply default plots for quick illustration of the residuals, and may or may not be useful for detailed analysis of the residuals.
#For example, see ?plot.devresid
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.