Sample intervals that are highest on a given metric
sample_intervals_with_highest.RdSample intervals that are highest on a given metric
Arguments
- intervals
A tibble with columns depending on
time_type:For
wall:interval_start,interval_end(POSIXct),interval_start_wav(ms)For
wav:interval_start_wav,interval_end_wav(both in ms since wav start) Can contain other columns.
- column
Name of the column whose value is to be maximized.
- size
required sample size
- duration
Interval duration supported by
lubridate::period, e.g., '2 mins'.- allow_fewer
Is it OK if there are fewer than size intervals?