How to generate all possible samples of size 5 for the two variables in one analysis. -- View this message in context: http://r.789695.n4.nabble.com/All-possible-samples-for-two-variables-tp3540107p3540107.html Sent from the R help mailing list archive at Nabble.com.
All possible samples for two variables
2 messages · Sharma D, Alexander Engelhardt
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)