Skip to contents

barplot showing data availability in (e.g. daily) time intervals.

Usage

hsPlotDataAvailability(
  avail,
  colNames = NULL,
  firstIntBeg = NULL,
  lastIntBeg = NULL,
  main = "hsPlotDataAvailability",
  barCols = NULL,
  labelStep = 2,
  firstPlot = TRUE,
  dbg = FALSE,
  ...
)

Arguments

avail

data frame containing the availibility information as returned by hsDataAvailability

colNames

name of column containing availabilities

firstIntBeg

timestamp indicating the begin of the first interval to be plotted

lastIntBeg

timestamp indicating the begin of the last interval to be plotted

main

main title of barplot

barCols

bar colour(s). If avail is a list of data frames, each data frame is shown in its own colour as given here in barCols

labelStep

if set to <n>, only every n-th date label will be shown in the plot

firstPlot

if TRUE, barplot is replotted, else plot is added to existing plot

dbg

If TRUE, debug messages are shown

...

further arguments to be passed to R's barplot() function.