gg_facetVar: gg_facetVar

Description Usage Arguments Examples

Description

This function plots variables on a faceted ggplot

Usage

1
2
gg_facetVar(rB3in, startDate, endDate, varNames, plotLabels, srcColour,
  qcColour, showPlot, savePlot, dpi)

Arguments

rB3in

rB3 object input

startDate

measurements before this will be excluded from plot

endDate

measurements after this will be excluded from plot

varNames

variable names or keywords

plotLabels

vector of titles for each panel NB: n and order of plotLabels must be same as columns for rB3in

srcColour

colour of the unmodified data (leave out to plot only quality controlled data)

qcColour

colour of the quality controlled data (leave out to plot only unmodified/raw data)

showPlot

display figure in plots window (TRUE/FALSE)

savePlot

save figure to this path ('folder/start_of_file_name')

Examples

1
2
newDF <- gg_facetVar(rB3in = stdDF, metaD = metaD, varNames = wqVars, srcColour = 'red',
              qcColour = 'black', savePlot = 'figures/RAW_WQ_',  dpi = 400)

kohjim/rB3 documentation built on May 10, 2019, 9:51 a.m.