is.probability: Predicate checking for a probability

Description Usage Arguments Value

View source: R/helpers.R

Description

Predicate checking for a probability

Usage

1
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


0liver0815/onc-crmpack-test documentation built on Feb. 19, 2022, 12:25 a.m.