gcd | R Documentation |
Useful math functions that R doesn't have.
gcd(a, b)
lcm(a, b)
a,b |
numbers to compute the greatest common divisor or least common multiple of. |
The greatest common divisor or least common multiple.
gcd(56, 42)
gcd(57, 42)
gcd(59, 42)
lcm(56, 42)
lcm(12, 42)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.