CreateData
function.R/LRE-CreateData-Internal.r
LRE-Create-Internal.Rd
Internal functions for curating the data
CreateLD(
Q,
Conc,
date.range,
samp.unit,
Ytype,
Qflush,
Reg = list(type = "none", rainfall = NULL, date = NULL)
)
CreateQregDataset(Q, samp.unit, Qflush, Ytype, Reg)
PlotCQ(Conc, Q)
CreateCQDataset(Conc, Qreg, startdate)
AssignVal(x, y)
CreateRegDate(Q, samp.unit, Ytype)
CreateLoadVars(Q, csQ, Qflush, samp.unit, Date, Y)
Flow data
Concentration data
Date range
sampling unit
Year type. One of water year ("WY" or "WY2") or financial year ("FY")
Quantile for "first flush"
Parameters for regularisation (type, rainfall, date)
Regularised flow data
Starting date
vector of x-values
vector of y-values
Cumulative sum of flow
Date vector
Year type