mnntsrandominitial {CircNNTSR}R Documentation

Initial random point

Description

This function generates a random point on the surface of the prod(M+1)-dimensional unit hypersphere

Usage

mnntsrandominitial(M = 1, R = 1)

Arguments

M

Vector of length R with number of components in the MNNTS for each dimension

R

Number of dimensions

Value

Returns a valid initial point for estimation functions

Author(s)

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

References

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

Examples

M<-c(2,3)
R<-length(M)
mnntsrandominitial(M,R)

[Package CircNNTSR version 2.2-1 Index]