daily.cv: Calculate daily cofficient of variation

View source: R/daily.cv.R

daily.cvR Documentation

Calculate daily cofficient of variation

Description

This function takes a daily time series and returns the coefficient of variation of daily flows expressed as a percentage.

i.e. (sd/mean)*100

Missing values are ignored.

Usage

daily.cv(flow.ts)

Arguments

flow.ts

Dataframe with date and discharge data in columns named "Date" and "Q" respectively. Date must be in POSIX format (see ts.format)

Value

A dataframe with one column (daily.cv).

Author(s)

Nick Bond <n.bond@latrobe.edu.au>

Examples

data(Cooper)
Cooper<-ts.format(Cooper)

daily.cv(Cooper)


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