sample_draws: Sample draws from a tidy-format data frame of draws
Description
Given a tidy-format data frame of draws with a column indexing each draw, subsample the data frame to a given size.
Usage
sample_draws(data, n, draw = ".draw")
Arguments
data
Data frame to sample from
n
The number of draws to select
draw
The name of the column indexing the draws