plotExceed.lgcpPredict: plotExceed.lgcpPredict function

Description Usage Arguments Value See Also Examples

Description

Function for plotting exceedance probabilities stored in lgcpPredict ojects.

Usage

1
2
3
## S3 method for class 'lgcpPredict'
plotExceed(obj, fun, nlevel = 64, ask = TRUE,
  plotcases = FALSE, mapunderlay = NULL, alpha = 1, ...)

Arguments

obj

an object

fun

the name of the function used to compute exceedances (character vector of length 1). Note that the named function must be in memory.

nlevel

number of colour levels to use in plot, default is 64

ask

whether or not to ask for a new plot between plotting exceedances at different thresholds.

plotcases

whether or not to plot the cases on the map

mapunderlay

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.

alpha

graphical parameter takign values in [0,1] controlling transparency of exceedance layer. Default is 1.

...

additional arguments passed to image.plot

Value

plot of exceedances

See Also

lgcpPredict, MonteCarloAverage, setoutput

Examples

1
2
3
4
5
6
7
8
## Not run: exceedfun <- exceedProbs(c(1.5,2,4))
## Not run: 
    plot(lg,"exceedfun") # lg is an object of class lgcpPredict
                         # in which the Monte Carlo mean of
                         # "exceedfun" was computed
                         # see ?MonteCarloAverage and ?setoutput

## End(Not run)

bentaylor1/lgcp documentation built on May 12, 2019, 2:09 p.m.