Re: [R] R help contingency table

2016-06-20 Thread Jim Lemon
Hi Lucie, You can visualize this using the sizetree function (plotrix). You supply a data frame of the individual choice sequences. # form a data frame of "random" choices coltrans<-data.frame(choice1=sample(c("High","Medium","Low"),100,TRUE), choice2=sample(c("High","Medium","Low"),100,TRUE))

Re: [R] R help contingency table

2016-06-20 Thread Lucie Dupond
y College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Lucie Dupond Sent: Sunday, June 19, 2016 9:10 PM To: r-help@r-project.org Subject: [R] R help contingency table Hello, I'm sorry if my question is really basic, but I'm having so

Re: [R] R help contingency table

2016-06-20 Thread David L Carlson
r-help-boun...@r-project.org] On Behalf Of Lucie Dupond Sent: Sunday, June 19, 2016 9:10 PM To: r-help@r-project.org Subject: [R] R help contingency table Hello, I'm sorry if my question is really basic, but I'm having some troubles with the statistics for my thesis, and especially the khi squar

Re: [R] R help contingency table

2016-06-20 Thread S Ellison
> The first colomn is showing the first color, and the second is showing the > second color of the transition Are you sure? transitions1 is a 3x3 matrix; it has three columns, not two. Could it be that the columns are colour 2 following initial condition given by row, or vice versa? [not that

[R] R help contingency table

2016-06-20 Thread Lucie Dupond
Hello, I'm sorry if my question is really basic, but I'm having some troubles with the statistics for my thesis, and especially the khi square test and contingency tables. For what I understood, there are two "kinds" of khisquare test, that are quite similar : - Homogeneity, when we have one