Sample subjects from an fmri_group
Arguments
- gd
An
fmri_group.- n
Number of subjects to sample. When
stratais supplied andnhas length 1, the same number is drawn from each stratum. Provide a named vector to request different counts per stratum.- replace
Logical indicating whether to sample with replacement.
- strata
Optional column name used to stratify the sampling.