Match draw/raffle

Hi, I have a “n” number of players which have to play some matches randomly against each other. I can make the first draw correctly but I need to help to create more draws so that matches do not repeat. For example for n=6 i’d like sth like this:

First draw
1 vs 3
2 vs 5
4 vs 6

Second draw

1 vs 2
4 vs 5
3 vs 6

... n draws...

So far i have this but I’m having problems to run a second draw without repeating any match :

Players<- c(1:n)
matrix(sample(Players,n,F),nrow=n/2,ncol=2)

I’d appreciate some help

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.