Description Usage Arguments Details Examples
Generates realisations of vectors in the maximum domain of attraction of a spatial Schlather max-stable distribution.
1 | rSchlatherExcess(n=500,spatial,params)
|
n |
an integer giving the number of observations |
spatial |
the correlation model given as a list:
|
params |
A vector of length 2 that must be informed if |
a vector is generated as the product of two independent random variables:
a unit Pareto random variable and a Gaussian random vector whose covariance matrix is derived
from the spatial
model. The package MASS
must be loaded to generate Gaussian random vectors
1 2 3 4 | library(MASS)
rSchlatherExcess(n=500,
spatial=list(sites=matrix(2*runif(20),ncol=2),family=spatialWhittleMatern),
params=c(1,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.