make_influenza_threshold_chart: A treshold chart of the type used for influenza

View source: R/graph_mem.R

make_influenza_threshold_chartR Documentation

A treshold chart of the type used for influenza

Description

A treshold chart of the type used for influenza

Usage

make_influenza_threshold_chart(
  data,
  title,
  lang = "NB",
  weeks = c(40, 20),
  color_palette = "fhi",
  legend_control = "legend"
)

Arguments

data

A data.table for a season of influenza

title

the title for the chart

lang

language of labels

weeks

start and end week for the plot

color_palette

which color palette to use (fhi uses standard fhiplot, otherwise influensa palette is used)

legend_control

using a legend or text on the chart


folkehelseinstituttet/fhiplot documentation built on March 25, 2022, 7:59 a.m.