On 02/03/2008, Emilio Gagliardi <[EMAIL PROTECTED]> wrote:
> Henrique,
>
> Again, thank you very much for your code snippets, I am learning from them,
> but they are also creating as many questions as answers...
>
> On Sun, Mar 2, 2008 at 11:48 AM, Henrique Dallazuanna <[EMAIL PROTECTED]>
> wrote:
Henrique,
Again, thank you very much for your code snippets, I am learning from them,
but they are also creating as many questions as answers...
On Sun, Mar 2, 2008 at 11:48 AM, Henrique Dallazuanna <[EMAIL PROTECTED]>
wrote:
> Then you can try this:
>
> apply(array(as.vector(sapply(patt, get)),
Then you can try this:
apply(array(as.vector(sapply(patt, get)), dim = c(dim(get(patt[1])),
ngroups, nsubs)), 1:3, mean)
For create the matrices in a loop one option is:
lapply(seq(1, 51, by=10), function(x)matrix(seq(x, x+8), nrow=3, ncol=3))
On 02/03/2008, Emilio Gagliardi <[EMAIL PROTECTE
Hi Henrique,
Thank you for your help, but it doesn't produce what I'm looking for...
On Sun, Mar 2, 2008 at 10:50 AM, Henrique Dallazuanna <[EMAIL PROTECTED]>
wrote:
> One options is:
>
> data.1 <- matrix(seq(from=1,to=9,by=1),nrow=3,ncol=3)
> data.2 <- matrix(seq(from=11,to=19,by=1),nrow=3,ncol
One options is:
data.1 <- matrix(seq(from=1,to=9,by=1),nrow=3,ncol=3)
data.2 <- matrix(seq(from=11,to=19,by=1),nrow=3,ncol=3)
data.3 <- matrix(seq(from=21,to=29,by=1),nrow=3,ncol=3)
data.4 <- matrix(seq(from=31,to=39,by=1),nrow=3,ncol=3)
data.5 <- matrix(seq(from=41,to=49,by=1),nrow=3,ncol=3)
data
Hi everyone,
I'm sure this is simple, but I can't seem to figure this out.
Situation. 3 different groups of subjects each submit n X n matrices of
scores. What I want to do is aggregate each group of scores into a summary
n X n matrix. I need the result to be a matrix so that I can calculate a
6 matches
Mail list logo