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))
Thank you for your answer !
I'm sorry, i've made a mistake in the second matrix, they should have the same
row/column labels, I just used another label vector by mistake.
My supervisor doesn't have a solution for this, and neither have every one I
asked around me.
Thanks for your solution,
You should consult with your adviser or someone at your institution who has
more experience in statistical analysis than you do. You want to compare the
matrices, but the row/column labels are different so you may be comparing
completely different categories.
Technically, you need to convert
> 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
4 matches
Mail list logo