Learn R Programming

CircNNTSR (version 2.3)

nntsDistributioninterval0to1: NNTS distribution function for the incidence data defined in the interval [0,1)

Description

Computes the distribution function at theta for the incidence data (number of observed values in certain intervals defined in the interval [0,1))

Usage

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

Value

The function returns the value of the distribution function at theta

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

Author

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Examples

Run this code
cpars<-nntsrandominitial(2)
nntsDistributioninterval0to1(pi, cpars, 2)

Run the code above in your browser using DataLab