is.probability: Predicate checking for a probability

View source: R/helpers.R

is.probabilityR Documentation

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


crmPack documentation built on June 26, 2024, 5:07 p.m.