confBand: function to draw confidence bands, using generalized moving...

View source: R/aux_stats.R

confBandR Documentation

function to draw confidence bands, using generalized moving averages/sds

Description

importFrom grDevices rgb importFrom graphics lines polygon importFrom stats sd

Usage

confBand(
  x,
  y,
  x0,
  x1,
  y0,
  y1,
  windowsNbr = 10,
  period = ceiling(length(y)/windowsNbr),
  lcolour = "gray",
  ltype = 4,
  lwidth = 2,
  filling = TRUE
)

covid19.analytics documentation built on Oct. 16, 2023, 1:06 a.m.