[R] import contingency table

sylvain willart sylvain.willart at gmail.com
Mon May 28 12:32:23 CEST 2012


hello everyone,

i often work on contingency table that I create from data.frame (with
table() function)

but a friend sent me an excel sheet wich *already is* a contingency
table (just a simple 2 way table !...)

any clue on how to import it in R (keeping row names and col names) ?

any tuto I come accross only mention the table transformation, but
never the import of such data

I only found read.ftable() but couldn't get it to work

any help appreciated

Sylv



More information about the R-help mailing list