IsPrime {primefactr} | R Documentation |
Is a prime number?
Description
Is n a prime number? You can see what is a prime number there.
Usage
IsPrime(n)
Arguments
n |
A positive integer. |
Value
A boolean.
Examples
IsPrime(1) # FALSE
IsPrime(5) # TRUE
IsPrime(59999999) # TRUE
[Package primefactr version 0.1.1 Index]