Hi I want to generate two sets of random numbers and see how many times the same number appears in both columns.
In R I have been using the code
length(intersect(sample(1:369, 51, rep=F), sample(1:369,13, rep=F)))
I would like to replicate this 1000 times, each time with a new set of random...