Identify heat waves in a time series

This function identifies heat waves that are a certain number of days long.

1 | ```
IDHeatwavesCPP(heatwaveLength, tempsExceedingCutoff)
``` |

`heatwaveLength` |
Number of days that a heat wave lasts under the user's definition |

`tempsExceedingCutoff` |
A vector of 1s and 0s the length of the number of days in the time series. 1 means the temperature for that day exceeds the calculated threshold; 0 means it does not exceed the threshold. |

A dataframe containing information about the heat waves for this
series. It contains two columns: `hw`

and `hw.number`

.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.