"Randomly" select rows in a data frame with an approximate distribution in R
I have a data frame from which I need to randomly extract a subsample that has a distribution that is roughly similar to the distribution of another sample. Is that a way I can do that in R?
Aucun commentaire:
Enregistrer un commentaire