R: sample() command subject to a constraint

Leave a Comment