Hi everyone,
I have a question concerning random sampling from a dataset.
I would like to extract random samples from a dataset. I thought the "sample" function in R could be a good and simple option.
However, then I thought that it would be logical that my new dataset keeps the original probability distribution, the original characteristics of the specific variable.
Thank you very much!