is_prime: Check for a Prime Number. Checks whether a given number is...

View source: R/primeFunctions.R

is_primeR Documentation

Check for a Prime Number. Checks whether a given number is prime.

Description

Check for a Prime Number. Checks whether a given number is prime.

Usage

is_prime(q)

Arguments

q

A numeric value to be checked.

Value

TRUE if q is prime and FALSE otherwise.


SCCDdesign documentation built on Sept. 21, 2026, 5:08 p.m.