plotSD: Plot the Signal Detection time series

Description Usage Arguments Value See Also Examples

View source: R/internal_functions.R

Description

Plot the Signal Detection time series including historical data, alarm detection period and alarms

Usage

1
plotSD(x, input, subRegionName, x.sts, x.algo)

Arguments

x

dataframe (default SignalData)

input

list of parameters as defined in the Signal Detection Application (see runEpiSDApp)

(i.e. list(disease, country, indicator, stratification, unit, daterange, algo, testingperiod))

subRegionName

character string, region label to use in the plot, if different than input$RegionName (optional)

x.sts

sts object (optional), see stsSD)

x.algo

algo object (optional), see algoSD)

Value

plot

See Also

SignalData runEpiSDApp

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#-- 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
)

#-- Plotting the signal detection output
plotSD(input = input)

EpiSignalDetection documentation built on Dec. 11, 2021, 9:27 a.m.