Checks if x is proportions vector - non-missing dbls between 0 and 1 that sum to 1.
Usage
check_props(x, x_name = substitute(x), error = TRUE)
Checks if x is proportions vector - non-missing dbls between 0 and 1 that sum to 1.
check_props(x, x_name = substitute(x), error = TRUE)