is.prime {ShapDoE}R Documentation

Determine whether an integer is a prime

Description

Determine whether an integer is a prime

Usage

is.prime(x)

Arguments

x

the integer to be determined.

Value

the result: TRUE (x is a prime) or FALSE (x is not a prime).

Examples

is.prime(7)
is.prime(8)

[Package ShapDoE version 1.0.0 Index]