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

678

Version

0.2.6

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Kisung You

Last Published

February 27th, 2025

Functions in maotai (0.2.6)

dpmeans

DP-means Algorithm for Clustering Euclidean Data
movMF_reduce_partitional

von Mises-Fisher mixture model reduction - partitional method
nef

Negative Eigenfraction
mmd2test

Kernel Two-sample Test with Maximum Mean Discrepancy
movMF_convert

Convert 'movMF' object
tsne

t-SNE Embedding
weiszfeld

Weiszfeld Algorithm for Computing L1-median
nem

Negative Eigenvalue Magnitude
pdeterminant

Calculate the Pseudo-Determinant of a Matrix
movMF_info

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

von Mises-Fisher mixture model reduction - Greedy method
sylvester

Solve Sylvester Equation
trio

Trace Ratio Optimation
shortestpath

Find Shortest Path using Floyd-Warshall Algorithm
rotationS2

Compute a Rotation on the 2-dimensional Sphere
bmds

Bayesian Multidimensional Scaling
boot.stationary

Generate Index for Stationary Bootstrapping
checkdist

Check for Distance Matrix
WLbarycenter

Barycenter of vMF Distributions Under a Wasserstein-Like Geometry
checkmetric

Check for Metric Matrix
WLpdist

Pairwise Wasserstein-like Distance between two vMF distributions
cmds

Classical Multidimensional Scaling
cayleymenger

Cayley-Menger Determinant
boot.mblock

Generate Index for Moving Block Bootstrapping
cov2corr

Convert Covariance into Correlation Matrix
ecdfdist

Distance Measures between Multiple Empirical Cumulative Distribution Functions
lgpa

Large-scale Generalized Procrustes Analysis
ecdfdist2

Pairwise Measures for Two Sets of Empirical CDFs
matderiv

Numerical Approximation to Gradient of a Function with Matrix Argument
kmeanspp

K-Means++ Clustering Algorithm
cov2pcorr

Convert Covariance into Partial Correlation Matrix
metricdepth

Metric Depth
lyapunov

Solve Lyapunov Equation
epmeans

EP-means Algorithm for Clustering Empirical Distributions