studyPeriod {EpiSignalDetection} | R Documentation |
Compute the study period
Description
Compute a dataframe including two types of dates corresponding
to the study period defined in the list of parameters input
(i.e. StudyPeriod
= approximated daily date; Time
= exact date in the format according to the time unit parameter)
Usage
studyPeriod(input)
Arguments
input |
list of parameters as defined in the Signal Detection Application (see (i.e. |
Value
Dataframe including the complete time series with no gaps:
StudyPeriod |
approximated daily date e.g. |
Time |
exact date in the format according to the time unit parameter e.g. |
Examples
#-- Setting the parameters to run the report for
input <- list(
disease = "Salmonellosis",
country = "EU-EEA - complete series",
indicator = "Reported cases",
stratification = "Confirmed cases",
unit = "Month",
daterange = c("2010-01-01", "2016-12-31"),
algo = "FarringtonFlexible",
testingperiod = 5
)
StudyPeriod <- studyPeriod(input)
head(StudyPeriod)
[Package EpiSignalDetection version 0.1.2 Index]