Description Usage Arguments Value See Also Examples
Given mass and flow at the monthly basis, the flow-weighted average annual concentration is returned. Mass and flow should be monthly data and should be for only a single trace, or for one year of one trace. Expect flow to be in acre-ft/month and mass to be in tons. Return value will be in mg/L
1 | flowWeightedAvgAnnConc(mass, flow)
|
mass |
A vector of one trace worth of data, or one year of one trace. Units should be in tons. |
flow |
A vector of one trace worth of data, or one year of one trace. Units should be in acre-ft/month. |
A vector of yearly data of the flow-weighted average annual concentration. Units will be mg/L.
1 2 3 4 5 6 | ## Not run:
flow <- rdfSlotToMatrix(rdf,'Powell.Outflow')
mass <- rdfSlotToMatrix(rdf,'Powell.Outflow Salt Mass')
fwaacT1 <- flowWeightedAvgAnnConc(mass[,1], flow[,1]) # repeat for other traces.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.