Learn R Programming

CircNNTSR (version 2.0)

nntsDensityInterval0to1: NNTS density function for incidence data defined in the interval [0,1]

Description

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

Usage

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

Arguments

theta
Vector of values defined in the interval [0,1] 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

  • Value of density function at each component of theta

Examples

Run this code
ccoef<-nntsrandominitial(3)
nntsDensityInterval0to1(c(.8,1.8),ccoef,3)

Run the code above in your browser using DataLab