smooth_percentile {heatwaveR} | R Documentation |
An internal function that helps to create climatologies in accordance with the Hobday et al. (2016) standard.
smooth_percentile(data, smoothPercentileWidth, var_calc)
data |
The data given to this function during the calculations
performed by |
smoothPercentileWidth |
The width of the smoothing window
to be applied. The default is |
var_calc |
This is passed from the ts2clm argument |
The function returns the data in the same format it was input as, with the climatology values smoothed as desired.
Smit, A. J.