Find gaps in a data series
find_gaps_df.Rd
Looks for NAs (gaps) in a data series and counts the number of NAs.
Useful for smooth_points_df
, which can fill gaps up to a certain length.
0 means no gap, 1 means a single NA, and so forth.
Usage
find_gaps_df(.data, cols, .frame = frame, .out = c("gaplen"))