extcoeff {SpatialExtremes} | R Documentation |
Plots the extremal coefficient
Description
Plots the extremal coefficient evolution as the coordinates evolves.
Usage
extcoeff(fitted, cov.mod, param, n = 200, xlab, ylab, ...)
Arguments
fitted |
A object of class " |
cov.mod |
A character string corresponding the the covariance
model in the max-stable representation. Must be one of "gauss" for
the Smith's model; or "whitmat", "cauchy" or "powexp" for
the Whittle-Matern, the Cauchy and the Powered Exponential
covariance family with the Schlather's model. May be missing if
|
param |
Numeric vector of length 3. The parameters for the Smith's or Schlather model - i.e. c(cov11, cov12, cov22) or c(nugget, range, smooth). Please respect this order. |
n |
Numeric. |
xlab , ylab |
The x-axis and y-axis labels. May be missing. |
... |
Several options to be passed to the |
Value
A plot.
Author(s)
Mathieu Ribatet
See Also
Examples
## 1- Random field generation
n.site <- 30
locations <- matrix(runif(2*n.site, 0, 10), ncol = 2)
colnames(locations) <- c("lon", "lat")
data <- rmaxstab(60, locations, cov.mod = "whitmat", nugget = 0, range =
3, smooth = 1)
## 2- Fit a max-stable processes
schlather <- fitmaxstab(data, locations, "whitmat", nugget = 0)
## 3- Plot the extremal coefficient
extcoeff(schlather)