preEventSummary: Pre-event summary

Description Usage Arguments Value Author(s)

View source: R/preEventSummary.R

Description

This function provides a summary of data of a given period before each event.

Usage

1
preEventSummary(eventCount, data, stepsBefore)

Arguments

eventCount

A vector indicating events. The eventCounts of findEvents.

data

A vector of data (e.g rainfall, stream flow, temperature) of length(eventCounts)

stepsBefore

The amount of temporal steps as the begining of the window to summarise (start_of_event-stepsBefore:start_of_event).

Value

minimum

The minumum of the event

mean

The mean of the event

median

The median of the event

std_dev

The standard deviation of the event

variance

The variance of the event

Author(s)

Jason Lessels jlessels@gmail.com


hydroEFS documentation built on May 2, 2019, 4:58 p.m.