Skip to contents

The event object is used to define events as input for the derive_extreme_event() function.

Usage

event(condition, set_values_to = NULL)

Arguments

condition

An unquoted condition for selecting the observations, which will contribute to the extreme event.

set_values_to

A named list returned by exprs() defining the variables to be set for the extreme answer, e.g. exprs(PARAMCD = "WSP", PARAM = "Worst Sleeping Problems". The values must be a symbol, a character string, a numeric value, or NA.

Value

An object of class event