https://cran.nic.cz/web/packages/drawsample/index.html
CRAN: Package drawsample
A tool to sample data with the desired properties.Samples can be drawn by purposive sampling with determining distributional conditions, such as deviation from...
cranpackage