# extcoeff: Plots the extremal coefficient In SpatialExtremes: Modelling Spatial Extremes

 extcoeff 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 "`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(nugget, 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.

### Author(s)

Mathieu Ribatet

`fitmaxstab`

### 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)
```

SpatialExtremes documentation built on April 19, 2022, 5:06 p.m.