Description Usage Arguments Value Examples
Invoke 'factor' command (part of GNU coreutils)
| 1 | prime_factor(x, uniq = FALSE)
 | 
| x | an numerical vector. | 
| uniq | logical; if TRUE, duplicated prime factors would be removed. | 
a list, with length equal to the input vector.
| 1 2 | prime_factor(1001:1010)
prime_factor(65536, uniq=TRUE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.