Description Usage Arguments Value Examples
The common_factors
function takes a set of numbers and identifies
the common factors between them. It can also be used to identify the
greatest common factor of a set of numbers.
1 | common_factors(..., greatest = FALSE)
|
... |
The numbers that you want to get the common factors of. |
greatest |
Logical. Should the result be only the greatest
common factor? Defaults to |
A numeric vector.
1 2 | common_factors(18, 48)
common_factors(25, 50, 100, greatest = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.