runifSphere: Generate uniform random variables on the unit sphere
Description
Generate uniform random variables on the unit sphere
Usage
runifSphere(n, dimAmbient)
Value
A `dimAmbient` by `n` matrix. Each column is a random observation
Arguments
- n
Sample size
- dimAmbient
The dimension of the ambient space