sample_intervals_with_highest | R Documentation |
Sample intervals that are highest on a given metric
sample_intervals_with_highest(
intervals,
column,
size,
duration,
allow_fewer = FALSE
)
intervals |
A tibble with columns |
column |
Name of the column whose value is to be maximized. |
size |
required sample size |
duration |
Interval duration supported by |
allow_fewer |
Is it OK if there are fewer than size intervals? |
A subsample of intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.