nntsDensityInterval0to1 {CircNNTSR}R Documentation

NNTS density function for a variable defined in the interval [0,1)

Description

Computes the density function at theta for a variable defined in the interval [0,1))

Usage

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

Arguments

S

Vector of values defined in the interval [0,1) at which the density 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

Details

This function computes the density function of a variable S (S in the interval [0,1)). If theta is defined in radians (theta in the interval [0,2*pi)), the relation between S and theta is theta=2*pi*S.

Value

Value of density function at each component of S

Author(s)

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Examples

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

[Package CircNNTSR version 2.2-1 Index]