Learn R Programming

TauStar (version 1.1.7)

isProb: Check if a Valid Probability

Description

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

Usage

isProb(prob)

Value

TRUE if conditions are met, FALSE if otherwise

Arguments

prob

the probability to check