Description Usage Arguments Value Author(s)
get a series of ggplots of the time series and its fits
1 2 3 4 5 6 | plotCampaignConcSeries(ds, dsFits = NULL, varName = "CO2_dry",
colChunk = "iChunk", timeCol = "TIMESTAMP", qualityFlag = 0,
fTextBR = NULL, fTextTL = NULL, fTextTR = NULL,
plotsPerPage = 64, fileName = "", colIds = c(),
ggplotList = c(), ylabel = paste0(varName, " (",
yunit, ")"), yunit = "", isVerbose = TRUE)
|
ds |
data frame to plot, with collumns |
dsFits |
tibble of results of |
varName |
variable to plot |
colChunk |
column name of identifier of one time series |
timeCol |
column name of the time collumn |
qualityFlag |
vector of length unique(ds[[colChunk]]): quality flag. For chunks where this flag is not 0, subplots are dimmed. |
fTextBR |
function(resFit) to add some text to the bottom right of the plot, by default the rSquared from fitting object |
fTextTL |
function(resFit) to add some text to the top left of the plot, by default the autocorrelation from fitting object |
fTextTR |
function(resFit) to add a second text to the top right of the plot, by default the provided quality flag, where it is not zero |
plotsPerPage |
number of plots per page |
fileName |
if non-zero length string, the fileName where all plots are printed to #paste0(varName,".pdf") |
colIds |
|
ggplotList |
list added to each ggplot. |
ylabel |
y-label, may provide a string of the unit |
yunit |
scalar string, part of default y label |
isVerbose |
a tibble with columns page and plot, the second column holding plotting objects
dsPlots %>% rowwise() %>% do({print(.$plot)})
Thomas Wutzler, Oscar Perez Priego
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.