Learn R Programming

⚠️There's a newer version (0.4.2) of this package.Take me there.

This package contains functions and datasets for math taught in school. A main focus is set to prime calculation.

Copy Link

Version

Install

install.packages('schoolmath')

Monthly Downloads

655

Version

0.4.1

License

GPL (>= 2)

Maintainer

Joerg Schlarmann aka Produnis

Last Published

May 10th, 2022

Functions in schoolmath (0.4.1)

schoolmath-package

Functions and datasets for math used in school
gcd

Greatest common divisor of two numbers
primes

generate prime-numbers
cancel.fraction

cancel fractions to their simplest form
is.negative

check whether numbers of a vector are negative
prime.factor

giving prime-factors of a number
is.real.positive

check whether numbers of a vector are real positive
is.positive

check whether numbers of a vector are positive
scm

calculating the smallest common multiple of two numbers
primlist

prime-numbers between 1 and 9999999
is.whole

check whether a vector contains numbers with decimal places
decimal2fraction

convert a decimal-number into fraction
is.even

check whether numbers of a vector are even
is.decimal

check whether a vector contains numbers with decimal places
is.odd

check whether numbers of a vector are odd
is.prim

check whether a vector contains prime-numbers