nntsplotInterval0to1 {CircNNTSR}R Documentation

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

Description

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

Usage

nntsplotInterval0to1(cpars = 1/sqrt(2 * pi), M = 0, ...)

Arguments

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

...

Arguments passed to the function curve

Author(s)

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Examples

data<-c(1,2,4,6,2)
cutpoints<-c(0,0.2,0.4,0.6,0.8,0.9999999)
est<-nntsmanifoldnewtonestimationinterval0to1(data,cutpoints,5,1)
cpars<-est$cestimates[,2]
nntsplotInterval0to1(cpars, 1)

[Package CircNNTSR version 2.2-1 Index]