| assert_epiparameter | R Documentation |
<epiparameter> objectAssert an object is a valid <epiparameter> object
assert_epiparameter(x)
x |
An R object. |
Invisibly returns an <epiparameter>. Called for side-effects
(errors when invalid <epiparameter> object is provided).
ep <- epiparameter_db(single_epiparameter = TRUE)
assert_epiparameter(ep)
# example with invalid <epiparameter>
ep$disease <- NULL
try(assert_epiparameter(ep))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.