nntsdensity {CircNNTSR} | R Documentation |
Density function for the NNTS model
nntsdensity(cpars = c(0, 0), M = 0, theta)
cpars |
vector of real numbers of dimension 2*M. The first M numbers are the SQUARED moduli of the c parameters, the sum must be less than 1/(2*pi). The last M numbers are the arguments of the c parameters |
M |
number of components in the NNTS |
theta |
an angle in radians |
The function gives the density function evaluated at theta
The default values give the Uniform circular density
Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez
Fernandez-Duran, J.J. (2004). Circular Distributions Based on Nonnegative Trigonometric Sums, Biometrics, 60(2), 499-503.
nntsdensity(c(.01,.02,1,2),2,pi)