Re: [R] sub-matrix block size

2011-04-29 Thread Santosh
Dear Rxperts, Can "Jordan decomposition" of submatrices be useful to determine size of sub blocks? "http://en.wikipedia.org/wiki/Jordan_normal_form";.. Thanks for the ideas/suggestions. . I have another similar situation, where at least one of the off diagonal elements of the lower triangle subma

Re: [R] sub-matrix block size

2011-04-27 Thread Santosh
Thanks, David! That is another interesting perspective to (sub/super) diagonal story! For now I was looking only at block sizes of lower triangle submatrices as Dennis suggested. Regards, Santosh On Wed, Apr 27, 2011 at 5:57 AM, David Winsemius wrote: > > On Apr 27, 2011, at 12:07 AM, Dennis Mur

Re: [R] sub-matrix block size

2011-04-27 Thread David Winsemius
On Apr 27, 2011, at 12:07 AM, Dennis Murphy wrote: Hi: Maybe this can help get you started. Reading your data into a matrix m, m <- structure(c(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,

Re: [R] sub-matrix block size

2011-04-26 Thread Dennis Murphy
Hi: Maybe this can help get you started. Reading your data into a matrix m, m <- structure(c(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0,

Re: [R] sub-matrix block size

2011-04-26 Thread Peter Alspach
Tena koe Santosh It is not clear to me precisely what your blocking rules are (e.g., where should matrix[4,4] go, is matrix[5:7,5:7] to be considered as a different block to matrix[8:10,8:10]). Also, what happens if there is an isolated 1 (e.g., in location matrix[9,6])? However, I imagine so