calendarAutoReport: Make calendar of report schedule and daily load

View source: R/calendarAutoReport.R

calendarAutoReportR Documentation

Make calendar of report schedule and daily load

Description

Make calendar of report schedule and daily load

Usage

calendarAutoReport(runDayOfYear, pointRangeMax = 0)

Arguments

runDayOfYear

Numeric vector of yeardays for which reports are to be run. May well contain repeating values

pointRangeMax

Integer to provide static range of geom_point as [1 pointRangeMax]. If set to 0 (default) the range of current data will be used.

Value

a (gg)plot object

Examples

monthlyReport <- seq(from = 1, to = 365, by = 30)
weeklyReport <- seq(from = 1, to = 365, by = 7)
summerWeeklyReport <- seq(from = 130, to = 250, by = 7)
specialReport <- c(summerWeeklyReport, 150:170)
rdoy <- c(monthlyReport, weeklyReport, summerWeeklyReport, specialReport)
calendarAutoReport(rdoy)

Rapporteket/raptools documentation built on May 1, 2022, 6:42 a.m.