Learn R Programming

MiscMath (version 1.1)

Miscellaneous Mathematical Tools

Description

Some basic math calculators for finding angles for triangles and for finding the greatest common divisor of two numbers and so on.

Copy Link

Version

Install

install.packages('MiscMath')

Monthly Downloads

125

Version

1.1

License

GPL (>= 2)

Maintainer

W.J. Braun

Last Published

April 13th, 2025

Functions in MiscMath (1.1)

shuffle

Shuffling Algorithm
EratosthenesSieve

Sieve of Eratosthenes
mCracker

Modulus Cracker
microLASSO

Simplest Case of LASSO Regression
IntDecToBin

Binary Expansion of Positive Integers
LawofCosines

Law of Cosines
MaxRunLength

Maximum Run Length
MiscMath-package

Miscellaneous Mathematical Tools and Facts
rAlias

Alias Method for Generating Discrete Random Variates
rMWC

Multiply-With-Carry Random Number Generator
LawofSines

Law of Sines
rlincong

Linear Congruential Generator
DecToBin

Convert Decimal to Binary
rngV

Vectorized Congruential Random Number Generator
RNGtest

Pseudorandom Number Testing via Random Forest
Matpower

Matrix Power
gcd

Greatest Common Divisor