Description Usage Arguments Value
View source: R/test_custom_models.R
Runs checks to assess whether a custom incidence model is
suitable for use in prevalence
. Provides useful
diagnostic messages if any issues are encountered.
1 | validate_incidence_model(object, data, timeframe = 3652)
|
object |
An incidence model to be tested |
data |
Registry data in the form of a data frame. Ideally will be the same source that will be used for the prevalence estimation later on. |
timeframe |
How long to generate incident cases for in days. This is disease-specific, but the default of ten years should work well for most diseases. |
The dummy incident population that has been generated to allow for further diagnostics to be run.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.