is_prior_valid: Is Prior Valid
Description
Checks if a single valid prior name is in the list of prior values and if
that prior value from the list is greater than 0.
Usage
is_prior_valid(priors_list, valid_prior)
Value
Boolean (TRUE/FALSE)
Arguments
- priors_list
A list of valid priors
- valid_prior
A character string