extcoeff {SpatialExtremes} | R Documentation |
Plots the extremal coefficient evolution as the coordinates evolves.
extcoeff(fitted, cov.mod, param, n = 200, xlab, ylab, ...)
fitted |
A object of class "maxstab ". Most often, it will
be the output of the function fitmaxstab . If missing,
then cov.mod and param should be supplied. |
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
fitted is given. |
param |
Numeric vector of length 3. The parameters for the Smith's or Schlather model - i.e. c(cov11, cov12, cov22) or c(sill, range, smooth). Please respect this order. |
n |
Numeric. n^2 corresponds to the total number of
estimated extremal coefficients for the contour plot. |
xlab,ylab |
The x-axis and y-axis labels. May be missing. |
... |
Several options to be passed to the contour
function. |
A plot.
Mathieu Ribatet
## 1- Random field generation require(RandomFields) n.site <- 30 locations <- matrix(runif(2*n.site, 0, 10), ncol = 2) colnames(locations) <- c("lon", "lat") ms0 <- MaxStableRF(locations[,1], locations[,2], model = "wh", grid = FALSE, maxstable = "extr", param = c(0, 1, 0, 3, 1), n = 60) ms0 <- t(ms0) ## 2- Fit a max-stable processes schlather <- fitmaxstab(ms0, locations, "whitmat", fit.marge = FALSE) ## 3- Plot the extremal coefficient extcoeff(schlather)