| Title: | Comprehensive Epidemiological Analysis Toolkit |
|---|---|
| Description: | Provides a unified framework for epidemiological data analysis and disease surveillance. The package supports descriptive epidemiology, incidence, prevalence and mortality estimation, age standardization, trend analysis, geographic summaries, disease risk prediction, and automated analytical workflows. Designed for researchers and public health professionals, it facilitates reproducible analyses of epidemiological datasets using established statistical and predictive modeling techniques. Methods are informed by standard epidemiological references including Rothman et al. (2008, ISBN:9780781755641) and Gordis (2014, ISBN:9781455737338). |
| Authors: | Khalid Ul Islam Rather [aut, cre] |
| Maintainer: | Khalid Ul Islam Rather <[email protected]> |
| License: | GPL-3 |
| Version: | 0.1.1 |
| Built: | 2026-07-07 17:16:25 UTC |
| Source: | https://github.com/cran/EpiScopeK |
A simulated epidemiological dataset containing demographic and disease indicators.
epi_dataepi_data
A data frame with 10000 observations:
Country
Year
Sex
Age Group
Incidence Rate
Prevalence Rate
Mortality Rate
Simulated Data
Runs a complete epidemiological workflow.
epi_pipelineK(data)epi_pipelineK(data)
data |
Data frame. |
List of results.
epi_pipelineK(epi_data)epi_pipelineK(epi_data)
Computes summary statistics for all numeric variables.
epi_summaryK(data)epi_summaryK(data)
data |
A data frame. |
A data frame containing mean, standard deviation, median and number of missing values.
epi_summaryK(epi_data)epi_summaryK(epi_data)
Aggregates an indicator by region.
geo_epiK(data, region, indicator)geo_epiK(data, region, indicator)
data |
Data frame. |
region |
Region variable. |
indicator |
Indicator variable. |
Summary table.
geo_epiK(epi_data, "country", "incidence")geo_epiK(epi_data, "country", "incidence")
Computes incidence rate per 100,000 population.
incidence_rateK(cases, population)incidence_rateK(cases, population)
cases |
Number of new cases. |
population |
Population at risk. |
Numeric incidence rate.
incidence_rateK(150, 100000)incidence_rateK(150, 100000)
Computes mortality rate per 100,000 population.
mortality_rateK(deaths, population)mortality_rateK(deaths, population)
deaths |
Number of deaths. |
population |
Population size. |
Numeric mortality rate.
mortality_rateK(50,100000)mortality_rateK(50,100000)
Computes prevalence per 100,000 population.
prevalence_rateK(existing_cases, population)prevalence_rateK(existing_cases, population)
existing_cases |
Number of existing cases. |
population |
Total population. |
Numeric prevalence rate.
prevalence_rateK(500,100000)prevalence_rateK(500,100000)
Fits a logistic regression model.
risk_predictK(formula, data)risk_predictK(formula, data)
formula |
Model formula. |
data |
Data frame. |
A fitted logistic regression model.
df <- data.frame( disease = c(0,1,0,1,1,0), age = c(25,40,35,60,55,30), incidence = c(10,20,15,30,25,12) ) risk_predictK( disease ~ age + incidence, df )df <- data.frame( disease = c(0,1,0,1,1,0), age = c(25,40,35,60,55,30), incidence = c(10,20,15,30,25,12) ) risk_predictK( disease ~ age + incidence, df )
Fits a linear trend model and visualizes temporal changes.
trend_epiK(data, year, outcome)trend_epiK(data, year, outcome)
data |
Data frame. |
year |
Name of year variable. |
outcome |
Name of outcome variable. |
Linear model object.
trend_epiK(epi_data, "year", "incidence")trend_epiK(epi_data, "year", "incidence")