Learn R Programming

FlowScreen (version 0.9)

pk.cov: Center of Volume

Description

This function calculates center of volume metrics, including the day of the hydrologic year that 25 percent, 50 percent, and 75 percent of the total annual streamflow is reached.

Usage

pk.cov(TS)

Arguments

TS
output from create.ts containing a data.frame of flow time series

Value

  • Returns a data.frame with the following columns:
    • hYear - Hydrologic Years
    • Q25 - day of hydrologic year for 25 percent of the total annual streamflow
    • Q50 - day of hydrologic year for 50 percent of the total annual streamflow, i.e. Center of Volume
    • Q75 - day of hydrologic year for 75 percent of the total annual streamflow
    • Dur - duration of between the 25 percent and 75 percent day of year, in days

Examples

Run this code
data(cania.sub.ts)
res1 <- pk.cov(cania.sub.ts)

# trend and changepoint plot for baseflow peak start doy
res2 <- screen.metric(res1[,2], "Day of Year")

Run the code above in your browser using DataLab