Perhaps you want -fillin-.
Nick
[email protected]
[email protected]
Suppose I have the following dataset:
gene1 gene2 gene3 gene 4
0 0 1 0
1 0 2 0
2 5 6 8
3 2 3 5
4 4 5 6
5 1 5 6
6 1 2 3
7 7 5 6
8 7 5 6
9 4 8 5
10 4 5 6
Is there a way to form every combination of these 4 variables without
depending on multiple datasets? I am doing this task by generating four
distinct datasets (one for each variables) and then using the -cross-
command. However, it would be nice if there is a more straightforward
solution to do that.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/