Selects unique posterior rows with counts that differ by at most one across grid cells. The selected rows are returned in a reproducibly shuffled order.
Arguments
- metadata
Data frame with unique integer
drawidentifiers and acellidentifier for every available row.- n_draws
Positive integer number of rows to select.
- seed
Integer random seed.
- expected_cells
Optional vector giving the complete expected set and order of grid cells. By default, sorted unique cells in
metadataare used.
