The sample is drawn from a mixture and the algorithm follows from the proof of Theorem 1 in Ballani and Schlather (2011).
.rpairexpspec(n, d, alpha, beta)
a matrix of samples from the angular distribution
an n
by d
sample from the spectral distribution
sample size
concentration parameter
vector of all pairwise component (lexicographic order, by row)
Leo Belzile
Ballani, D. and M. Schlather (2011). A construction principle for multivariate extreme value distributions, Biometrika, 98(3), 633--645.