rvMF: Fast Generation of von Mises-Fisher Distributed Pseudo-Random Vectors

Generates pseudo-random vectors that follow an arbitrary von Mises-Fisher distribution on a sphere. This method is fast and efficient when generating a large number of pseudo-random vectors. Functions to generate random variates and compute density for the distribution of an inner product between von Mises-Fisher random vector and its mean direction are also provided. Details are in Kang and Oh (2024) <doi:10.1007/s11222-024-10419-3>.

Package details

AuthorSeungwoo Kang [aut, cre] (ORCID: <https://orcid.org/0000-0001-8082-0794>), Hee-Seok Oh [aut]
MaintainerSeungwoo Kang <kangsw0401@snu.ac.kr>
LicenseGPL (>= 3)
Version0.1.1
URL https://github.com/seungwoo-stat/rvMF
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rvMF")

Try the rvMF package in your browser

Any scripts or data that you put into this service are public.

rvMF documentation built on Feb. 15, 2026, 5:07 p.m.