Learn R Programming

crmPack (version 0.2.7)

is.probability: Predicate checking for a probability

Description

Predicate checking for a probability

Usage

is.probability(x, bounds = TRUE)

Arguments

x

the object being checked

bounds

whether to include the bounds 0 and 1 (default)

Value

Returns TRUE if x is a probability