[R] relationship between two factors

John Kane jrkrideau at yahoo.ca
Thu Dec 6 20:17:48 CET 2007


?table should work 

table (DMS, ITS)

I am not clear on what kind of chart you want.

will 
plot(DMS, ITS) do what you want?


--- christopher snow <snowch at coralms.com> wrote:

> 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
> A   
> B       counts
> C
> D
> 
> How can I do this in R?
> 
> Many thanks,
> 
> Chris



      Looking for the perfect gift? Give the gift of Flickr!



More information about the R-help mailing list