Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stiEvents

Compute events from STI values


Description

stiEvents returns a vector containing events occurence computed from the given STI values.

Usage

stiEvents(values)

Arguments

values

a time ordered series of STI values.

Details

The stiEvents function allows computing events from a time ordered series of STI values. Events are defined as:

"Extremely hot"    when STI >=  2.00
  "Very hot"          ''  STI >=  1.50 and <  2.00
  "Moderately hot"    ''  STI >=  1.00 and <  1.50
  "Near normal"       ''  STI <   1.00 and > -1.00
  "Moderately cold"   ''  STI <= -1.00 and > -1.50
  "Very cold"         ''  STI <= -1.50 and > -2.00
  "Extremely cold"    ''  STI <= -2.00

Value

stiEvents returns a vector of events occurence from "Extremely hot" to "Extremely cold".

Author(s)

Marc Fasel <marc.fasel@unige.ch>

Examples

data(engelberg)

stiEvents(sti(engelberg$Temperature, 12))

STI

Calculation of the Standardized Temperature Index

v0.1
GPL-3
Authors
Marc Fasel [aut, cre]
Initial release
2015-08-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.