isProbVector | R Documentation |
Checks if the input vector has entries that sum to 1 and are non-negative
isProbVector(probs)
probs |
the probability vector to check |
TRUE if conditions are met, FALSE if otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.