Description Usage Arguments Value Examples
Find largest prime numbers within a vector of integers.
1 | find_prime(x)
|
x |
: a vector of integer less than 1000. |
an integer
1 2 3 4 5 | find_prime(c(0,1,2,3,4,5))
5
find_prime(c(0,1))
"No prime number in vector"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.