[R] From xtabs to matrix

glaporta glaporta at freeweb.org
Thu Jul 2 12:39:20 CEST 2009


Hi list,
is it possible convert the xtabs result 
xtabs(breaks~tension+wool,data=warpbreaks)

       wool
tension   A   B
      L 401 254
      M 216 259
      H 221 169

to a simple matrix?
           A   B
      L 401 254
      M 216 259
      H 221 169


Thanks a lot! Gianandrea
-- 
View this message in context: http://www.nabble.com/From-xtabs-to-matrix-tp24304588p24304588.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list