Runs checks to assess whether a custom incidence model is
suitable for use in prevalence
. Provides useful
diagnostic messages if any issues are encountered.
validate_incidence_model(object, data, timeframe = 3652)
An incidence model to be tested
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.
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.