Density and random generation for the spherical normal distribution with mean and kappa.
Usage
rvmf(n = 100, mu = c(1, 0, 0), k = 5)
dvmf(x, mu, k = 5)
Source
Adapted fom rotasym::r_vMF()
and rotasym::d_vMF()
Examples
# example code
x <- rvmf(100, mu = Line(120, 50), k = 5)
stereoplot()
stereo_point(x)