We provide a number of algorithms to estimate fundamental statistics including Fréchet mean and geometric median for manifold-valued data. Also, C++ header files are contained that implement elementary operations on manifolds such as Sphere, Grassmann, and others. See Bhattacharya and Bhattacharya (2012)
You can install the released version of RiemBase from CRAN with:
install.packages("RiemBase")
or the development version from github:
# > install.packages("devtools")# if not installed.library(devtools)devtools::install_github("kisungyou/RiemBase")
rbase.curvedist
is added to compute L2 distance between two curves on manifolds.