IDHeatwavesCPP: Identify heat waves that are a certain number of days long

Description Usage Arguments Value


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


IDHeatwavesCPP(heatwaveLength, tempsExceedingCutoff)



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


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.

Search within the futureheatwaves package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

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

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