plotSampleInformation: Plot Sample Information

Description Usage Arguments

View source: R/plot_sample_information.R

Description

plotSampleInformation. TODO: simplify interface, e.g. plotSampleInformation(getSampleInformation(getSampleFiles()[1]))

Usage

1
2
3
4
5
plotSampleInformation(sampleInformation, add = FALSE,
  xlim = kwb.datetime::toUTC(range(c(sampleInformation$samplingEvents$tBeg,
  sampleInformation$samplingEvents$tEnd))), ylim = c(-2, 7), main = NA,
  cex.legend = 0.6, density = 0, plotSampleIntervals = TRUE,
  maxSamplesOk = NULL, plotSamplingPoints = plotSampleIntervals)

Arguments

sampleInformation

list with elements samplingEvents, bottleEvents

add

passed to ganttPlotEvents

xlim

passed to ganttPlotEvents

ylim

passed to ganttPlotEvents

main

plot title

cex.legend

passed to addSampleTimesToPlot

density

passed to ganttPlotEvents

plotSampleIntervals

logical. If TRUE ganttPlotEvents is called for sampleInformation$samplingEvents

maxSamplesOk

maximum number of valid samples. This value is used to calculate an y coordinate

plotSamplingPoints

= logical. If TRUE addSampleTimesToPlot is called


KWB-R/kwb.monitoring documentation built on May 17, 2019, 1:06 p.m.