Learn R Programming

Tools for Matrix Algebra, Optimization and Inference Problems

maotai is an R package whose name is an acronym for Matrix Algebra, OpTimization, And Inference problems - though I can’t deny motivation from one of my father’s favorite for the namesake. More detailed introduction will be added later.

Installation

Install the latest release from CRAN with:

install.packages("maotai")

or the up-to-date development version from github:

# install.packages("devtools")
devtools::install_github("kisungyou/maotai")

Copy Link

Version

Install

install.packages('maotai')

Monthly Downloads

4,595

Version

0.2.7

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Kisung You

Last Published

September 24th, 2025

Functions in maotai (0.2.7)

bmds

Bayesian Multidimensional Scaling
WLmedian

Geometric Median of vMF Distributions Under a Wasserstein-Like Geometry
WLpdist

Pairwise Wasserstein-like Distance between two vMF distributions
LEiDA

Leading Eigenvector Dynamics Analysis
cmds

Classical Multidimensional Scaling
ecdfdist2

Pairwise Measures for Two Sets of Empirical CDFs
ecdfdist

Distance Measures between Multiple Empirical Cumulative Distribution Functions
kmeanspp

K-Means++ Clustering Algorithm
lgpa

Large-scale Generalized Procrustes Analysis
boot.mblock

Generate Index for Moving Block Bootstrapping
WLbarycenter

Barycenter of vMF Distributions Under a Wasserstein-Like Geometry
cov2corr

Convert Covariance into Correlation Matrix
dpmeans

DP-means Algorithm for Clustering Euclidean Data
matderiv

Numerical Approximation to Gradient of a Function with Matrix Argument
cov2pcorr

Convert Covariance into Partial Correlation Matrix
nef

Negative Eigenfraction
lyapunov

Solve Lyapunov Equation
pdeterminant

Calculate the Pseudo-Determinant of a Matrix
metricdepth

Metric Depth
mmd2test

Kernel Two-sample Test with Maximum Mean Discrepancy
tsne

t-SNE Embedding
nem

Negative Eigenvalue Magnitude
rotationS2

Compute a Rotation on the 2-dimensional Sphere
trio

Trace Ratio Optimation
shortestpath

Find Shortest Path using Floyd-Warshall Algorithm
sylvester

Solve Sylvester Equation
boot.stationary

Generate Index for Stationary Bootstrapping
checkmetric

Check for Metric Matrix
checkdist

Check for Distance Matrix
movMF_convert

Convert 'movMF' object
movMF_info

Extract meaningful information from the von Mises-Fisher mixture model
movMF_reduce_greedy

von Mises-Fisher mixture model reduction - Greedy method
ecdfdistS

Distance Measures between Samples through Empirical Cumulative Distribution Functions
movMF_reduce_partitional

von Mises-Fisher mixture model reduction - partitional method
weiszfeld

Weiszfeld Algorithm for Computing L1-median
cayleymenger

Cayley-Menger Determinant
epmeans

EP-means Algorithm for Clustering Empirical Distributions