nntsABDensity {CircNNTSR}R Documentation

Density function with AB coefficients

Description

Density function expressed in terms of the ab parameters at theta

Usage

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

Arguments

theta

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

Returns the density function in terms of the ab coefficients evaluated at theta

Author(s)

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Examples

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

[Package CircNNTSR version 2.2-1 Index]