Learn R Programming

crmPack (version 1.0.6)

is.probability: Predicate checking for a probability

Description

Predicate checking for a probability

Usage

is.probability(x, bounds = TRUE)

Value

Returns TRUE if x is a probability

Arguments

x

the object being checked

bounds

whether to include the bounds 0 and 1 (default)