isProb: Check if a Valid Probability

View source: R/Functions.R

isProbR Documentation

Check if a Valid Probability

Description

Checks if the input vector has a single entry that is between 0 and 1

Usage

isProb(prob)

Arguments

prob

the probability to check

Value

TRUE if conditions are met, FALSE if otherwise


TauStar documentation built on April 3, 2025, 7:40 p.m.