Hi,
I am trying to replicate blocks of a matrix (defined by factors) into another
matrix, but an unequal, consecutive number of times for each factor.
I need to find an elegant and fast way to do this, so loops will not work.
An example of what I am trying to do is the following:
# the data
]
To: [EMAIL PROTECTED]
CC: r-help@r-project.org
Subject: Re: [R] replicate matrix blocks different numbers of times into new
matrix
Ralph S. wrote:
Hi,
I am trying to replicate blocks of a matrix (defined by factors) into
another matrix, but an unequal, consecutive number of times for each
misspecification - any ideas how I could solve my
problem?
Best,
Ralph
Date: Sat, 19 Jul 2008 21:39:25 +0200
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: r-help@r-project.org
Subject: Re: [R] replicate matrix blocks different numbers of times
yes, this works, thank yo. very smart solution!
-R
Date: Sat, 19 Jul 2008 19:55:58 -0400
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [R] replicate matrix blocks different numbers of times into new
matrix
CC: r-help@r-project.org
4 matches
Mail list logo