Joanna Papakonstantinou
2013-Mar-04 18:37 UTC
[R] package ‘contingency.tables’ is not available (for R version 2.15.2)
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. Thank you. ****************************************************************** *Joanna * [[alternative HTML version deleted]]
Milan Bouchet-Valat
2013-Mar-04 20:15 UTC
[R] package ‘contingency.tables’ is not available (for R version 2.15.2)
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