calc_bfi | R Documentation |
This function accepts a vector of daily mean discharge values and calculates the base flow index of the daily flow values for the entire record
calc_bfi(x)
x |
A numeric vector of consecutive daily mean discharge values |
The mean for a 7 day right-aligned moving window is calculated for the supplied flow vector. The baseflow index is calculated as the minimum 7day average flow divided by the mean flow
calc_bfi numeric value of the base flow index for the given data frame
x<-sampleData$discharge
calc_bfi(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.