axialnntsrandominitial {CircNNTSRaxial}R Documentation

Initial random point

Description

This function generates a random point on the surface of the (M+1)-dimensional hypersphere with radius 1/sqrt(pi) which corresponds to a random parameter vector of the NNTS axial density

Usage

axialnntsrandominitial(M=1)

Arguments

M

Number of components in the NNTS axial model

Value

res

A complex vector of size M+1 which can be used as a valid initial point for the estimation functions

Author(s)

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Examples

set.seed(12345)
axialnntsrandominitial(3)
axialnntsrandominitial(7)

[Package CircNNTSRaxial version 0.1.0 Index]