powered by
This function generates a random point on the surface of the prod(M+1)-dimensional unit hypersphere
mnntsrandominitial(M = 1, R = 1)
Returns a valid initial point for estimation functions
Vector of length R with number of components in the MNNTS for each dimension
Number of dimensions
Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez
Fernandez-Duran, J.J. and Gregorio-Dominguez, M.M. (2009) Multivariate Angular Distributions Based on Multiple Nonnegative Trigonometric Sums, Working Paper, Statistics Department, ITAM, DE-C09.1
M<-c(2,3) R<-length(M) mnntsrandominitial(M,R)
Run the code above in your browser using DataLab