nntsDistributioninterval0to2pi {CircNNTSR}R Documentation

NNTS distribution function for data defined in the interval [0,2*pi)

Description

Computes the distribution function for the data at theta

Usage

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

Arguments

theta

Value at which the distribution function 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 distribution function at theta

Author(s)

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Examples

cpars<-nntsrandominitial(3)
nntsDistributioninterval0to2pi(0, cpars, 3)
nntsDistributioninterval0to2pi(pi, cpars, 3)
nntsDistributioninterval0to2pi(2*pi-0.00000001, cpars, 3)
nntsDistributioninterval0to2pi(2*pi, cpars, 3)
nntsDistributioninterval0to2pi(3*pi, cpars, 3) 

[Package CircNNTSR version 2.2-1 Index]