mnntsdensity2d | R Documentation |
Density function for the MNNTS model (the particular case has two dimensions). This is an internal function used by mnntsplot
mnntsdensity2d(x,y, cpars,M)
x |
Vector of angles in radians |
y |
Vector of angles in radians |
cpars |
Parameters of the model. A 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 dimension one, the next M[2]+1 elements correspond to dimension two. The sum of the SQUARED moduli of the c parameters must be equal to 1/(2*pi). |
M |
Vector of length two with the number of components in the MNNTS for each dimension |
The function returns the density function evaluated at each row in data
Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez
Fernandez-Duran, J.J. and Gregorio-Dominguez, M.M. (2009) Multivariate Angular Distributions Based on Multiple Nonnegative Trigonometric Sums, Working Paper, Statistics Department, ITAM, DE-C09.1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.