fCritDates_QC: Quality check critical dates (SOS/EOS and SOW/EOW) from...

Description Usage Arguments

Description

This function takes two dataframes and returns summary statistics around each estimate of SOS/EOS (e.g. z-score and data representation):

Usage

1
fCritDates_QC(y, y.POSIX, y.ProcYr, crit.ID, crit.POSIX, crit.ProcYr, buffer)

Arguments

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)


ksmiff33/FluxSynthU documentation built on Dec. 15, 2020, 10:29 p.m.