Takes a sits tibble with different labels and returns a new tibble. For a given field as a group criterion, this new table contains a given number or percentage of the total number of samples per group. Parameter n indicates the number of random samples with reposition. Parameter frac indicates a fraction of random samples without reposition. If frac > 1, no sampling is done.
.sits_distances_sample(distances, frac)
Distances associated to a time series.
Percentage of samples to pick.
Data.table with a fixed quantity of samples of informed labels and all other.