[R] relationship between two factors

From: christopher snow <snowch_at_coralms.com>
Date: Thu, 06 Dec 2007 12:51:07 +0000

I have a dataset with two variables that are factors:

  1. Decision Making Satisfaction (DMS), values = A - Completely, B - Mostly, C - Partly, D - Not at all
  2. IT Satisfaction values (ITS), values = A - Completely, B - Mostly, C - Partly, D - Not at all

I would like to produce a table (matrix) and a chart of the factors, with counts at the cross sections:

         A B C D
B counts

How can I do this in R?

Many thanks,


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 06 Dec 2007 - 18:59:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 08 Dec 2007 - 18:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.