get_parameters.epiparameter | R Documentation |
<epiparameter>
objectExtract the parameters of the distribution stored in an <epiparameter>
object.
## S3 method for class 'epiparameter'
get_parameters(x, ...)
## S3 method for class 'multi_epiparameter'
get_parameters(x, ...)
x |
An |
... |
dots Not used, extra arguments supplied will cause a warning. |
The <epiparameter>
object can be unparameterised in which it lacks
a probability distribution or parameters of a probability distribution,
in this case the get_parameters.epiparameter()
method will return NA
.
A named vector of parameters or NA
when the <epiparameter>
object is unparameterised.
ep <- epiparameter_db(
disease = "COVID-19",
epi_name = "serial interval",
single_epiparameter = TRUE
)
get_parameters(ep)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.