Skip to content
L

LibRmath.js

This R statistical nmath module re-created in typescript/javascript

by R-jsFree

#333in Education
0In stores

Description

libRmath.js is a TypeScript and JavaScript port of R's nmath library, the set of statistical functions behind R. It includes probability dis…

Highlights

  • Probability distributions from beta to Weibull
  • Special functions: Bessel, beta, gamma and choose
  • Several pseudo-random number generators
  • No external dependencies
  • Some functions in WebAssembly

Ratings & Reviews

No ratings yet

Be the first to rate LibRmath.js.

People also visit

S

Simple Statistics

simple statistics for node & browser javascript

Education
Launch
D

Data Science Toolkit

Collection of stats, modeling, and data science tools in Python and R

Education
Launch
N

Nerdamer

a symbolic math expression evaluator for javascript

Education
Launch
A

Algebrite

Computer Algebra System in Javascript (Typescript)

Education
Launch
K

KaTeX

Fast math typesetting for the web

Education
Launch
C

ClaudeR - RStudio MCP Server

Connect RStudio to Claude Code, Codex, Gemini, and other LLM agents via MCP

AI Skills
Get

LibRmath.js FAQ

What is libRmath.js?

A port of R's nmath statistics library to TypeScript and JavaScript, with some functions written in WebAssembly.

Does it need R installed?

No. The library has zero external dependencies and does not call R. The documentation does assume you know R's built-in functions.

Which distributions are included?

Beta, binomial, negative binomial, Cauchy, chi-squared, exponential, Fisher F, gamma, geometric, hypergeometric, logistic, log normal, multinomial, normal, Poisson, Student-t, Tukey, uniform, Weibull and Wilcoxon.

What changed in version 2.0?

Helper functions such as any, flatten and map were removed, and the normal and uniform random number generators are now selected only through RNGkind. The UMD module was also removed.

Is it open source?

Yes. The code is on GitHub at jacobbogers/libRmath.js.

What are the best LibRmath.js alternatives?

Popular alternatives to LibRmath.js include Simple Statistics, Data Science Toolkit and Nerdamer. See all LibRmath.js alternatives

Developer Stuff

Badges