Generate an exclusive partitioning of a data frame
Arguments
- data
A data frame
- p
A named numeric vector giving where the value is the probability that an observation will be assigned to that group.
See also
Other resampling techniques:
bootstrap()
,
resample_bootstrap()
,
resample()