is_epiparameter | R Documentation |
<epiparameter>
Check object is an <epiparameter>
is_epiparameter(x)
x |
An R object. |
A boolean logical, TRUE
if the object is an <epiparameter>
and FALSE
if not.
ep <- epiparameter(
disease = "ebola",
epi_name = "serial_interval",
prob_distribution = create_prob_distribution(
prob_distribution = "gamma",
prob_distribution_params = c(shape = 1, scale = 1)
)
)
is_epiparameter(ep)
false_ep <- list(
disease = "ebola",
epi_name = "serial_interval",
prob_distribution = "gamma",
prob_distribution_params = c(shape = 1, scale = 1)
)
is_epiparameter(false_ep)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.