Learn R Programming

futureheatwaves (version 1.0.3)

storeZeroes: Helper function that adds zeroes

Description

This function is a helper function that adds zeros to the data structures that track heat wave information

Usage

storeZeroes(index, potentialHeatwave, hw, hwNumber)

Arguments

index
A running index.
potentialHeatwave
Size of the potential heat wave that turned out not to be a heat wave.
hw
A reference of the vector that contains the heat waves
hwNumber
A reference of the vector that contains the heat wave numbers.