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/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to