This is a function to compute the 7 statistics of daily streamflow. Input to the function is a time series of streamflow with date in the format Y-m-d. Output is a vector of OtherStats 1) mean, 2) median, 3) cv, 4) cv daily, 5) l7Q10, 6) l7Q2, 7) return_10 and 8) flow percentiles.
calculate_other_flow_stats(flow_data, digits = 3)
A dataframe containing a NWCCompare flow dataset. Should have been cleaned by validate_data
A numeric. Number of digits to round indice values
OtherStats data frame of calculated statistics
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.