Learn R Programming

CircNNTSR (version 2.0)

nntsABDensity: Density function with AB coefficients

Description

Density function expressed in terms of ab parameters at theta

Usage

nntsABDensity(theta, cpars = 1/sqrt(2 * pi), M = 0)

Arguments

theta
a vector of angles in radians
cpars
vector of complex numbers of dimension M+1. The first element is a real and positive number. The sum of the SQUARED moduli of the c parameters must be equal to 1/(2*pi).
M
number of components in the NNTS

Value

  • Density function in terms of the ab coefficients evaluated at theta

Examples

Run this code
ccoef<-nntsrandominitial(3)
nntsABDensity(1,ccoef,3)
nntsABDensity(1+2*pi,ccoef,3)

Run the code above in your browser using DataLab