search for: x2009

Displaying 3 results from an estimated 3 matches for "x2009".

Did you mean: 2009
2010 Nov 17
3
stacking consecutive columns
I have a file, each column of which is a separate year, and each row of each column is mean precipitation for that month. Looks like this (except it goes back to 1964). month X2000 X2001 X2002 X2003 X2004 X2005 X2006 X2007 X2008 X2009 1 1.600 1.010 4.320 2.110 0.925 3.275 3.460 0.675 1.315 2.920 2 2.960 3.905 3.230 2.380 2.720 1.880 2.430 1.380 2.480 2.380 3 1.240 1.815 1.755 1.785 1.250 3.940 10.025 0.420 2.845 2.460 4 3.775 1.350 2.745 0.170 0.710 2.570...
2013 Apr 22
2
subset dataframe
...0 ...  $ X2005: int  1081143 3662774 3740324 509 4 148102 30044 7 1962 0 ...  $ X2006: int  1670746 4127605 5920870 531 24 224382 27688 27 954 6 ...  $ X2007: int  2346392 3898345 6262784 5076 0 155818 31331 304 1415 0 ...  $ X2008: int  8151345 8119377 2639949 31010 0 202938 15803 104 495 0 ...  $ X2009: int  5257573 3018965 1062246 425 16 119540 12362 8 2096 0 ...  $ X2010: int  6542843 4741574 662450 271 4 158147 11559 8 2368 2 ...  $ X2011: int  8423316 5174087 70 1957 14 276223 15479 1585 3599 2 ...  $ X2012: int  8017601 1761068 45196 2625 49 204337 10427 1757 2233 5 ...  [1] "X"  ...
2009 Jun 12
2
Sweave recode(car) and Lyx, compiling but not executing on Mac
...) cabbages$Year<-recode(cabbages$Year,"'X2001'='2001';'X2002'='2002';'X2003'='2003';'X2004'='2004';'X2005'='2005';'X2006'='2006';'X2007'='2007';'X2008'='2008';'X2009'='2009';'X2010'='2010';'X2011'='2011';'X2012'='2012'") @ just prints out verbatim as a single line running off the page (No recoding occurs). It worked in R before pasting into Lyx. Initially I had the double quotes and single quote...