Re: [R] relationship between two factors

2007-12-08 Thread christopher snow
Thanks to everyone for their answers. What a helpful community! christopher snow 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 =

Re: [R] relationship between two factors

2007-12-07 Thread David Winsemius
"Henrique Dallazuanna" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Try this: > > df <- data.frame(DMS=factor(rep(LETTERS[1:4], 10)), > ITS=factor(rep(LETTERS[1:4], 10))) > table(df) > plot(table(df)) > That gave me simply 10's on the diagonals of the table and the plot was not very

Re: [R] relationship between two factors

2007-12-06 Thread John Kane
?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 <[EMAIL PROTECTED]> wrote: > I have a dataset with two variables that are > factors: > > 1) Decision Making Satisfaction (DMS), values = A - > Compl

Re: [R] relationship between two factors

2007-12-06 Thread Marc Schwartz
On Thu, 2007-12-06 at 12:51 +, christopher snow 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,

Re: [R] relationship between two factors

2007-12-06 Thread Greg Snow
ROTECTED] On Behalf Of christopher snow > Sent: Thursday, December 06, 2007 5:51 AM > To: r-help@r-project.org > Subject: [R] relationship between two factors > > I have a dataset with two variables that are factors: > > 1) Decision Making Satisfaction (DMS), values = A -

Re: [R] relationship between two factors

2007-12-06 Thread Henrique Dallazuanna
Try this: df <- data.frame(DMS=factor(rep(LETTERS[1:4], 10)), ITS=factor(rep(LETTERS[1:4], 10))) table(df) plot(table(df)) -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O On 06/12/2007, christopher snow <[EMAIL PROTECTED]> wrote: > I have a dataset with two variables

[R] relationship between two factors

2007-12-06 Thread christopher snow
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)