Description Usage Arguments Value Author(s) Examples
Reduce fractions to lowest terms using Euclid's Algorithm.
1 | reduce.fraction (ratio)
|
ratio |
A vector with two integers. The first element is the numerator of a ratio, and the second element is the denominator. |
A vector containing the elements of the reduced fraction. The first element is the numerator of a ratio, and the second element is the denominator.
Santiago Barreda <sbarreda@ucdavis.edu>
1 2 3 4 5 6 7 8 |
[1] 1 2
[1] 140 201
[1] 20 29
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.