Function for plotting exceedance probabilities stored in array objects. Used in plotExceed.lgcpPredict
.
# S3 method for array
plotExceed(
obj,
fun,
lgcppredict = NULL,
xvals = NULL,
yvals = NULL,
window = NULL,
cases = NULL,
nlevel = 64,
ask = TRUE,
mapunderlay = NULL,
alpha = 1,
sub = NULL,
...
)
an object
the name of the function used to compute exceedances (character vector of length 1). Note that the named function must be in memory.
an object of class lgcpPredict that can be used to supply an observation window and x and y coordinates
optional vector giving x coords of centroids of cells
optional vector giving y coords of centroids of cells
optional obervation window
optional xy (n x 2) matrix of locations of cases to plot
number of colour levels to use in plot, default is 64
whether or not to ask for a new plot between plotting exceedances at different thresholds.
optional underlay to plot underneath maps of exceedance probabilities. Use in conjunction with rainbow parameter 'alpha' (eg alpha=0.3) to set transparency of exceedance layer.
graphical parameter takign values in [0,1] controlling transparency of exceedance layer. Default is 1.
optional subtitle for plot
additional arguments passed to image.plot
generic function returning method plotExceed