gtable icon indicating copy to clipboard operation
gtable copied to clipboard

Flip function

Open hadley opened this issue 13 years ago • 2 comments

Should be able to flip vertically or horizontally.

hadley avatar Dec 31 '11 15:12 hadley

Is there a base equivalent of this? I guess you normally just use reverse indexing - but this would still be useful. (And would just be implemented in terms of matrix operations).

hadley avatar Dec 31 '11 15:12 hadley

I never find this in a base matrix. Yes, reverse indexing will do this work in the case of base matrix. In the case of gtable, a little bit more work are required (e.g., modification in layout data.frame).

kohske avatar Jan 01 '12 08:01 kohske