FUNCrB3: Apply a custom (user) function

Description Usage Arguments Examples

Description

Define a custom function and use via rB3 (apply logs etc)

Usage

1
2
FUNCrB3(rB3in, startDate, endDate, varNames, FUN, eqnVars, logID, Reason,
  showPlot, savePlot)

Arguments

rB3in

rB3 object input

startDate

start date

endDate

endDate

varNames

list of variable names or keywords

showPlot

display figure in plots window (TRUE/FALSE)

savePlot

save figure to a path (TRUE/FALSE)

eqnVarnames

a vector of variables (!must call each by name) that are used in the custom function

Examples

1
rB3in <- applyEqn(rB3in = rB3in,varNames = 'TmpWtr', coeffs = c(1,1,1,1), showPlot = TRUE)

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