View source: R/epiparameter-utils.R
is_epiparameter_params | R Documentation |
Check whether the vector of parameters for the probability distribution are in the set of possible parameters used in the epiparameter package
is_epiparameter_params(prob_distribution, prob_distribution_params)
prob_distribution |
A |
prob_distribution_params |
A named vector of probability distribution parameters. |
This check for valid parameters is independent of whether the distribution is truncated or discretised.
A boolean logical
.
is_epiparameter_params(
prob_distribution = "gamma",
prob_distribution_params = c(shape = 2, scale = 1)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.