stiEvents: Compute events from STI values

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

1
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:

1
2
3
4
5
6
7
  "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

1
2
3
data(engelberg)

stiEvents(sti(engelberg$Temperature, 12))

Example output

  Extremely hot        Very hot  Moderately hot     Near normal Moderately cold 
             58              94             150            1230             191 
      Very cold  Extremely cold 
             65              20 

STI documentation built on May 2, 2019, 7:16 a.m.