Posts by Gabriel Lobregat • 33 points
1 post
-
3
votes1
answer98
viewsQ: R - How to sample pairs from an array without repeating values?
I’m trying to create 100 pairs from a 200 value vector. I built a vector following a normal distribution as follows: vetor=rnorm(200,mean=30,sd=6) And now I want to extract 100 pairs of these…