Description
Continuous Epidemiological Week Indexing for Time-Series Analysis.
Description
Provides a simple algorithm to generate a continuous epidemiological week index from date variables in a dataframe. Weeks are computed as sequential 7-day intervals starting from the earliest observed date. They do not reset at calendar year boundaries and are not ISO 8601 nor MMWR calendar weeks. The approach is intended for epidemiological modeling and time-series analysis where temporal continuity is required. The generated weeks are sequential and do not reset at calendar year boundaries.
README.md
cepiweek
Description =====
"cepiweek" adds a continuous epidemiological week index to a dataframe based on date variable.
Important =====
The weeks generated by "cepiweek" are continuous indexed weeks are not ISO 8601 nor MMWR calendar weeks.
They are intended for time-series analysis and epimeliogical modeling.
Installation =====
\# official method :
install.packages("cepiweek")
\# Depuis GitHub
\# method1:
\# install.packages("devtools")
devtools::install_github("DeginaDaniel/cepiweek")
\# method2:
\# install.packages("remotes")
remotes::install_github("DeginaDaniel/cepiweek")
\# method3:
\# download the ZIP file and extract that
\# and go to R and tap:
install("dire/cepiweek") # dire is directory where you place cepiweek package
library(cepiweek)
Note : This package is licensed under the MIT License. See LICENSE for details.