Skip to content
Prev 176179 / 398503 Next

inverting a table

?t  # I knew it worked with matrices so seemed reasonable to see if it  
worked on tables.

 > t(with(warpbreaks, table(wool, tension)) )
        wool
tension A B
       L 9 9
       M 9 9
       H 9 9
 > with(warpbreaks, table(wool, tension))
     tension
wool L M H
    A 9 9 9
    B 9 9 9
On Apr 5, 2009, at 3:56 PM, Donald Braman wrote:

            
David Winsemius, MD
Heritage Laboratories
West Hartford, CT