Learn R Programming

CircNNTSR (version 2.3)

nntsrandominitial: Initial random point

Description

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

Usage

nntsrandominitial(M=1)

Value

Returns a valid initial point for the estimation functions

Arguments

M

Number of components in the NNTS

Author

Juan Jose Fernandez-Duran and Maria Mercedes Gregorio-Dominguez

Examples

Run this code
nntsrandominitial(3)
nntsrandominitial(7)

Run the code above in your browser using DataLab