Simple plotting function for objects of class lgcpPredict
.
# S3 method for lgcpPredict
plot(
x,
type = "relrisk",
sel = 1:x$EY.mean$len,
plotdata = TRUE,
ask = TRUE,
clipWindow = TRUE,
...
)
an object of class lgcpPredict
Character string: what type of plot to produce. Choices are "relrisk" (=exp(Y)); "serr" (standard error of relative risk); or "intensity" (=lambda*mu*exp(Y)).
vector of integers between 1 and grid$len: which grids to plot. Default NULL, in which case all grids are plotted.
whether or not to overlay the data
logical; if TRUE the user is asked before each plot
whether to plot grid cells outside the observation window
additional arguments passed to image.plot
plots the Monte Carlo mean of quantities obtained via simulation. By default the mean relative risk is plotted.