# Detect Heatwaves and Cold-Spells

## Documentation for package ‘heatwaveR’ version 0.4.2

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

## 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.
geom2trace.GeomFlame | Plotly helpers
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.
plotly_helpers | Plotly helpers
proto_event | Detect proto-events based on a chosen criterion (column).
smooth_percentile | Detect the climatology for a time series.
sst_Med | Optimally interpolated 0.25 degree SST for the Mediterranean region.
sst_NW_Atl | Optimally interpolated 0.25 degree SST for the NW Atlantic region.
sst_WA | Optimally interpolated 0.25 degree SST for the Western Australian region.
ts2clm | Make a climatology from a daily time series.