RE: [R] Flip rows and columns of a table?

From: BXC (Bendix Carstensen) <bxc_at_steno.dk>
Date: Tue 26 Apr 2005 - 19:26:33 EST

t( my.table )



Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 30 75 87 38
fax: +45 44 43 07 06

bxc@steno.dk
www.biostat.ku.dk/~bxc

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Dan Bolser
> Sent: Tuesday, April 26, 2005 11:18 AM
> To: R mailing list
> Subject: [R] Flip rows and columns of a table?
>
>
>
> Any simple way to take a (2D) table and 'rotate' it so all
> the rows become columns and the columns rows?
>
> I'll wager there is a simple way ;) - but I can't find it :(
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read
> the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Apr 26 19:30:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:26 EST