Displaying 1 result from an estimated 1 matches for "propsum".
2010 Apr 23
6
transpose? reshape? flipping? challenge with data frame
...,
I am having difficulty transposing, reshaping, flipping (not sure which) a data frame which is read from a DBF file. I have tried using t(), reshape() and other approaches without success. Can anyone please suggest an way (elegant or not) of flipping this data around ?
The initial data is like propsum (defined below), and I want it to look like tpropsum once reformed.
> propsum
coverClass R209120812 R209122212
1 C NA 0.05
2 G 0.49 0.35
3 L 0.38 0.41
4 O 0.04 0.09
5 S 0.09 0.10
> tp...