Is there any existing function for creating contingency tables that will display counts, row, column, and cell percentages in the same tables....anything similar to crosstabs in S? Marc W. Zodet, MS Health Statistician Center for Cost and Financing Studies Division of Statistical Research and Methods 2101 East Jefferson Street, Suite 500 Rockville, Maryland 20852 Phone: 301-594-7072 Fax: 301-594-2166 E-mail: mzodet@ahrq.gov <mailto:mzodet@ahrq.gov> [[alternate HTML version deleted]]
...perhaps CrossTable in gregmisc help you? christian ----- Original Message ----- From: <MZodet at ahrq.gov> To: <r-help at stat.math.ethz.ch> Sent: Thursday, April 24, 2003 10:20 PM Subject: [R] Detailed contingency tables> Is there any existing function for creating contingency tables that will > display counts, row, column, and cell percentages in the same > tables....anything similar to crosstabs in S? > > Marc W. Zodet, MS > Health Statistician > Center for Cost and Financing Studies > Division of Statistical Research and Methods > 2101 East Jefferson Street, Suite 500 > Rockville, Maryland 20852 > Phone: 301-594-7072 > Fax: 301-594-2166 > E-mail: mzodet at ahrq.gov <mailto:mzodet at ahrq.gov> > > > [[alternate HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
MZodet wrote:> > Is there any existing function for creating contingency tables that will > display counts, row, column, and cell percentages in the same > tables....anything similar to crosstabs in S?You might want to look at xtab() in "Kickstarting R" at: http://cran.r-project.org under Contributed Documentation. Jim
--- Jim Lemon <bitwrit at ozemail.com.au> wrote:> MZodet wrote: > > > > Is there any existing function for creating contingency tables > that will > > display counts, row, column, and cell percentages in the same > > tables....anything similar to crosstabs in S? > > You might want to look at xtab() in "Kickstarting R" at: > > http://cran.r-project.org > > under Contributed Documentation. >Try CrossTable in the package gregmisc