R/daily.cv.R

Defines functions daily.cv

Documented in daily.cv

daily.cv <- function(flow.ts) {
    
    daily.cv <- (sd(flow.ts$Q, na.rm = T)/mean(flow.ts$Q, na.rm = T)) * 100
    
    return(data.frame(daily.cv = daily.cv))
} 

Try the hydrostats package in your browser

Any scripts or data that you put into this service are public.

hydrostats documentation built on June 1, 2022, 9:06 a.m.