# Detect Heatwaves and Cold-Spells

## Documentation for package ‘heatwaveR’ version 0.4.6

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

Algiers | Daily maximum (tX) and minimum (tN) air temperatures for Algiers, Algeria.
block_average | Calculate yearly means for event metrics.
category | Calculate the categories of events.
clim_calc | Calculate seasonal and threshold climatologies as well as the variance.
clim_spread | Spead a time series wide to allow for a climatology to be calculated.
detect_event | Detect heatwaves and cold-spells.
event_line | Create a line plot of heatwaves or cold-spells.
exceedance | Detect consecutive days in exceedance of a given threshold.
geom_flame | Create 'flame' polygons.
geom_lolli | Visualise a timeline of several event metrics as 'lollipops'.
lolli_plot | Create a timeline of selected event metrics as 'lollipops'.
make_whole | Constructs a continuous, uninterrupted time series of temperatures.
make_whole_fast | Constructs a continuous, uninterrupted time series of temperatures (faster).
na_interp | Pad NA gaps of user-defined width with interpolated values.
proto_event | Detect proto-events based on a chosen criterion (column).
smooth_percentile | Detect the climatology for a time series.
sst_Med | NOAA Optimally Interpolated (OI) v2.1 daily 1/4 degree SST for the Mediterranean region.
sst_NW_Atl | NOAA Optimally Interpolated (OI) v2.1 daily 1/4 degree SST for the NW Atlantic region.
sst_WA | NOAA Optimally Interpolated (OI) v2.1 daily 1/4 degree SST for the Western Australian region.
ts2clm | Make a climatology from a daily time series.