prime | R Documentation |
A function that takes number and returns if its prime or not
prime(n)
number |
any number greater than 0 |
'prime()' returns true or false depending on if the input was prime or not.
prime(12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.