Data Management
A demonstration of a custom function for generating stratified random samples from an arbitrary number of factors.
A demonstration of a custom function for splitting a dataframe while accounting for a cluster variable. Primarily intended for use with multi-level models.