nntsDistribution {CircNNTSR}R Documentation

NNTS Distribution function

Description

Cumulative distribution function in terms of the c parameters at theta, measured in radians [0,2*pi).

Usage

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

Arguments

theta

Vector of angles in radians at which the distribution is computed

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

The function returns the value of the distribution function evaluated at each component of theta

Author(s)

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Examples

ccoef<-nntsrandominitial(3)
nntsDistribution(c(0,pi/2,pi,2*pi-0.00000001,2*pi),ccoef,3)

[Package CircNNTSR version 2.3 Index]