Description Usage Arguments Details Examples
Generates realisations of vectors in the maximum domain of attraction of an homogeneous clustered max-stable distribution.
1 | rCMS(copulas,margins,classes,params,n=100)
|
copulas |
a vector of 'acopula' objects from package |
margins |
a vector of objects of 'margin' class of length |
classes |
a vector of integers indicating for each component the number of its class
(from 1 to |
params |
a vector of length |
n |
an integer giving the number of observations |
a vector is generated as the product of two independent random variables: a unit Pareto random variable and a random vector whose components are independent sub-vectors with distributions (copula,margin).
1 2 3 4 5 | raw.data<-rCMS(copulas=c(copClayton,copGumbel),
margins=c(marginLnorm,marginFrechet),
classes=c(rep(1,10),rep(2,10)),
params=c(0.5,1,1.5,1.7),n=1000)
data<-excess.censor(raw.data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.