Description Usage Arguments Value
View source: R/check_probs_sum_to_one.R
Check that probabilities sum to 1 (or approximately 1)
1 | check_probs_sum_to_one(probs, msg = T, tolerance = .Machine$double.eps^0.5)
|
probs |
vector of probabilities for a single forecast |
tolerance |
tolerance relative to 1, default = .Machine$double.eps^0.5 |
TRUE or error message
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.