This function takes two dataframes and returns summary statistics around each estimate of SOS/EOS (e.g. z-score and data representation):
1  | fCritDates_QC(y, y.POSIX, y.ProcYr, crit.ID, crit.POSIX, crit.ProcYr, buffer)
 | 
y | 
 numeric vector, data column  | 
y.POSIX | 
 POSIX date vector, the POSIX date timestamp for variable y  | 
y.ProcYr | 
 numeric vector, a vector containing rowwise identification of the process_year for variable y  | 
crit.ID | 
 character vector, contains the names of each critical threshold (e.g. SOS10, SOS25)  | 
crit.POSIX | 
 POSIX date vector, the POSIX dates for each critical threshold  | 
crit.ProcYr | 
 numeric vector, a vector containing rowwise identification of the process_year (must be equal length as critID and critPOSIX)  | 
buffer | 
 numeric, buffer range (in days) by which the availability of data around each SOS/EOS will be assessed (e.g. buffer = 10 will calculate the number of actual data within a 21-day window, the day of interest +/- 10 days)  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.