monthly.cv {hydrostats}R Documentation

Calculate monthly coefficient of variation

Description

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

Usage

monthly.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). Missing values are ignored.

Value

a dataframe with 1 column (monthly.cv)

Author(s)

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

Examples

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

[Package hydrostats version 0.2.9 Index]