View source: R/primeFunctions.R
| is_prime | R Documentation |
Check for a Prime Number. Checks whether a given number is prime.
is_prime(q)
q |
A numeric value to be checked. |
TRUE if q is prime and FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.