View source: R/mnntsrandominitial.R
mnntsrandominitial | R Documentation |
This function generates a random point on the surface of the prod(M+1)-dimensional unit hypersphere
mnntsrandominitial(M = 1, R = 1)
M |
Vector of length R with number of components in the MNNTS for each dimension |
R |
Number of dimensions |
Returns a valid initial point for estimation functions
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.