Displaying 1 result from an estimated 1 matches for "coverclass".
Did you mean:
hoverclass
2010 Apr 23
6
transpose? reshape? flipping? challenge with data frame
...ich 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
> tpropsum
Image C G L O L.1
1 R209120812 NA 0.49 0.38 0.04 0.09
2 R20912221...