[R] transition matrices

2007-04-04 Thread Richard Rowe
I am working with transition matrices of sequences of animal behaviours. What I would like to do is parse the original matrices, adjusting row/column order so that the matrix has its main values in blocks surrounding the diagonal. This would cause behaviours involved in functional groupings

Re: [R] transition matrices

2007-04-04 Thread Ranjan Maitra
Hi, It appears that you are trying to separate the states in the transition matrix such that you have recurrent classes all next to each other. Here is an idea off the top of my head: make equivalence classes from your statespace and then use that to create a block diagonal matrix. I did a

Re: [R] transition matrices

2007-04-04 Thread hadley wickham
Hi Richard, You might want to have a look at Bertin's reorderable matrices, which seem to be solving a similar problem. Googling for bertin reorderable matrix gives a few automatic implementations. Hadley On 4/4/07, Richard Rowe [EMAIL PROTECTED] wrote: I am working with transition matrices

Re: [R] transition matrices

2007-04-04 Thread Christos Hatzis
www.nuverabio.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rowe Sent: Wednesday, April 04, 2007 2:35 AM To: r-help@stat.math.ethz.ch Subject: [R] transition matrices I am working with transition matrices of sequences of animal

Re: [R] transition matrices

2007-04-04 Thread Ranjan Maitra
On Wed, 4 Apr 2007 07:46:37 -0500 Ranjan Maitra [EMAIL PROTECTED] wrote: Hi, It appears that you are trying to separate the states in the transition matrix such that you have recurrent classes all next to each other. Sorry, I meant non-communicating classes. Btw, thinking about this some