R/utils.R
add_span_counter.Rd
Adds a variable, span_counter to a dataframe. Used internally to facilitate counting of missing values over a given span.
span_counter
add_span_counter(data, span_size)
data.frame
integer
data.frame with extra variable "span_counter".
if (FALSE) { # add_span_counter(pedestrian, span_size = 100) }