How can I randomly sample 2 reports that have weights between 0.5 - 1.0
Also; How can I randomly sample 20% of reports that have weights between 0.5 - 1.0
DF <- data.frame(Report_ID=c(2,8,12,15,16, 51,67,89,88,98),
Weight=c(0.05,0.1,0.25,0.30,0.35,0.56,0.75,0.81,0.95,1.0))
Aucun commentaire:
Enregistrer un commentaire