Function to choose a random sample of data stratified by label.
Vector of strings denoting labels.
Number of items to sample from each label class.
Vector of indices chosen.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.