Re: [R] All possible samples for two variables

2011-05-21 Thread 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) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

[R] All possible samples for two variables

2011-05-21 Thread Sharma D
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.