Le lundi 04 mars 2013 à 12:37 -0600, Joanna Papakonstantinou a écrit : > I am trying to create contingency tables (to evaluate prior to performing > Pearson's Chi-Squared test for independence). I would like to see column > and row totals as well as expected and observed values and cell counts. > I tried to use the package "contingency. tables" but get the following > warning: > package contingency.tables is not available (for R versions 2.15.2) > Is there something comparable or was this replaced with something else for > later versions of R. > Any help would be appreciated so that I may create a contigencey table like > this. I'm not aware of the existence of such a package, but base R provides most of what you need, and other packages offer even more. See e.g. http://www.statmethods.net/stats/frequencies.html
Regards ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.