| WQcompos | R Documentation | 
function to composite samples weighted by the associated volume the result is a volume-weighted concentration and summation of volumes
WQcompos(df.samples, sampleID, parms, volume = "Evolume", bdate, edate, codes)
| df.samples | dataframe with sample results and volumes | 
| sampleID | character variable name for the IDs for compositing samples (multiple samples will have the same ID) | 
| parms | vector Parameters to composite | 
| volume | character variable name for the volume, defaults to "Evolume" | 
| bdate | character variable name for the beginning of event times for each sample | 
| edate | character variable name for the ending of event times for each sample | 
| codes | a vector of character variable names for the values that should be pasted together into one string when combining samples (lab IDs are common here) | 
IDdf dataframe
flowData <- flowData
FIBdata <- FIBdata
FIBcomposData <- Hydrovol(dfQ=flowData,Q="Q",time="pdate",
       df.dates=FIBdata,bdate="SSdate",edate="SEdate")
WQcompos(df.samples=FIBcomposData,sampleID="SampleID",
       parms=c("Ecoli","Enterococci"), volume="event.vol",
       bdate="SSdate",edate="SEdate",codes="SampleID")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.