R/check.R
check_prob.Rd
Validate a probability argument
check_prob(p, arg, open = TRUE)
The user's value.
Name of the argument.
Require 0 < p < 1 (the default). FALSE allows the endpoints.
0 < p < 1
FALSE
p as a double.
p