search for: 1_grassy

Displaying 1 result from an estimated 1 matches for "1_grassy".

2009 May 05
1
re shape package - use one cast() instead of many
...or the interaction of treatment with each type of "variable" in ff_d. Using the command below gets me this. Subject will get a column and each treatment type by each variable will also get a column with values for each. cast(ff_d, subject~treatment+variable) subject 1_potato 1_buttery 1_grassy 1_rancid 1_painty 2_potato 2_buttery .... 3_painty 1 3 18 18 18 18 18 18 18 .... 18 ... Now, if I want to look at just the the values for each variable by subject I can run the following command. cast(ff_d, subject~variable...