# Estimating Disease Prevalence from Registry Data

## Documentation for package ‘rprev’ version 1.0.5

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

counted_prevalence | Count prevalence from registry data.
draw_incident_population | Simulates an incident population according to a specific incidence model
extract_covars | Returns the name of the covariates in the registry data set that are required by the survival model.
fixed_cure | Builds survival models for diseases with cured fractions using population mortality tables
plot.incdiag | Visualise disease incidence.
plot.survfit.prev | Plot bootstrapped survival curves.
predict_survival_probability | Predicts survival probability for given individuals at specific times.
prevalence | Estimate point prevalence at an index date.
prevsim | Simulated patient dataset.
rprev | rprev: Estimate disease point prevalence using a combination of registry data and Monte Carlo simulations.
sim_prevalence | Estimate prevalence using Monte Carlo simulation.
summary.survfit.prev | Obtain N-year survival probability estimates.
survfit.prevalence | Form bootstrapped survival curves.
test_homogeneity | Inspects disease incidence for its compatibility with a homogeneous Poisson process.
test_prevalence_fit | Test simulated prevalence fit.
UKmortality | General population survival data.
validate_incidence_model | Tests custom incidence models
validate_survival_model | Tests that a custom survival object has the required attributes for use in the 'prevalence' function.