vtools.data.gap

Functions

example_gap()

gap_count(ts[, state, dtype])

Count missing data Identifies gaps (runs of missing or non-missing data) and quantifies the length of the gap in terms of number of samples, which works better for regular series.

gap_distance(ts[, disttype, to])

For each element of ts, count the distance to the nearest good data/or bad data.

gap_size(ts)

Identifies gaps (runs of missing data) and quantifies the length of the gap.