set.seed(200)
a<-c(runif(10,3*pi/2,2*pi-0.00000001),runif(10,pi/2,pi-0.00000001))
#Estimation of the NNTSdensity with 2 components for data and gradientstop at 1e-12
nntsmanifoldnewtonestimationgradientstop(a,2,gradientstop=1e-12)
data(Turtles_radians)
#Empirical analysis of data
Turtles_hist<-hist(Turtles_radians,breaks=10,freq=FALSE)
#Estimation of the NNTS density with 3 componentes for data and gradientstop at 1e-12
nntsmanifoldnewtonestimationgradientstop(Turtles_radians,3,gradientstop=1e-12)
Run the code above in your browser using DataLab