Am 21.05.2011 06:30, schrieb Sharma D: > How to generate all possible samples of size 5 for the two variables in one > analysis. Like this? > x <- 1:5 > y <- 6:10 > expand.grid(x,y)