snntssimulation: SNNTS density simulation function
Description
Simulation for the density function for the SNNTS model
Usage
snntssimulation(nsim=1, cpars =(1/(2*pi))^2, M = c(0,0))
Value
simulations
The function generates nsim random values from the SNNTS density function
conteo
Number of uniform random numbers used for simulations
Arguments
nsim
Number of simulations
cpars
Vector of complex numbers of dimension prod(M+1). The first element is a real and positive
number. The first M[1]+1 elements correspond to longitude, the next M[2]+1 elements correspond to latitude.
The sum of the squared moduli of the c parameters must be equal to one
M
Vector with the number of components in the SNNTS for each dimension
Author
Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez