View source: R/check_single_probability.R
check_single_probability | R Documentation |
Check if the object is a single probability
check_single_probability(x, name = "x")
x |
the object to check |
name |
the name of the object to use in the error message |
The function gives the single probability back. It throws an error when the input is not a single probability.
check_single_probability(0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.