isProbVector: Check if Vector of Probabilities

Description Usage Arguments Value

Description

Checks if the input vector has entries that sum to 1 and are non-negative

Usage

1
isProbVector(probs)

Arguments

probs

the probability vector to check

Value

TRUE if conditions are met, FALSE if otherwise


Lucaweihs/TauStar documentation built on May 8, 2019, 11:53 p.m.