Learn R Programming

eufmdis.adapt (version 0.1.0)

plot_time_series: Plot graph of a time series with daily error margin

Description

Creates a line plot with a shaded polygon showing daily error margins (uncertainty ranges)

Usage

plot_time_series(x, parameter, main = "")

Value

No return value. Creates a plot.

Arguments

x

Data frame with columns day containing the counter for the time steps (=days), q025 for the 2.5 percentiles (i.e. the lower values for the error margin), median for the median values (i.e. the values for the line plot) and q975 for the 97.5 percentiles (i.e. the upper values for the error margin).

parameter

Character to use as label of the y-axis

main

(optional) character to use as plot title

Author

Ian Kopacka