Functions and Datasets for Math Used in School


[Up] [Top]

Documentation for package ‘schoolmath’ version 0.4.1

Help Pages

schoolmath-package Functions and datasets for math used in school
cancel.fraction cancel fractions to their simplest form
decimal2fraction convert a decimal-number into fraction
gcd Greatest common divisor of two numbers
is.decimal check whether a vector contains numbers with decimal places
is.even check whether numbers of a vector are even
is.negative check whether numbers of a vector are negative
is.odd check whether numbers of a vector are odd
is.positive check whether numbers of a vector are positive
is.prim check whether a vector contains prime-numbers
is.real.positive check whether numbers of a vector are real positive
is.whole check whether a vector contains numbers with decimal places
prime.factor giving prime-factors of a number
primes generate prime-numbers
primlist prime-numbers between 1 and 9999999
schoolmath Functions and datasets for math used in school
scm calculating the smallest common multiple of two numbers