# Draw 1000 vectors from vM-F with parameter 1, (1,0)
rvMF(1000,c(1,0))
# Draw 10 vectors from vM-F with parameter sqrt(14), (2,1,3)
rvMF(10,c(2,1,3))
# Draw from the vMF distribution with mean direction proportional
# to c(1, -1) and concentration parameter 3
rvMF(10, 3 * c(1, -1) / sqrt(2))
Run the code above in your browser using DataLab