Re: [R] do faster ANOVAS

2010-06-14 Thread melissa
Thank you, with the matrix for the responses (here my 101 timepoints), it takes less than 30 minutes for 1000 pemutations, whereas before it takes 2h30! Best regards, Mélissa Message du 10/06/10 18:52 De : Douglas Bates A : melissa Copie à : r-help@r-project.org Objet : Re: [R] do

[R] do faster ANOVAS

2010-06-10 Thread melissa
Dear all R users, I want to realize 800 000 ANOVAS and to store Sum of Squares of the effects. Here is an extract of my table data Product attribute subject rep t1 t2 t3 … t101 P1 A1 S1 R1 1 0 0 … 1 I want to realize 1 ANOVA per timepoint and per attribute, there are 101 timepoints and 8

Re: [R] do faster ANOVAS

2010-06-10 Thread Douglas Bates
The lm and aov functions can take a matrix response allowing you to fit all of the responses for a single attribute simultaneously. On Thu, Jun 10, 2010 at 8:47 AM, melissa mellep...@orange.fr wrote: Dear all R users, I want to realize 800 000 ANOVAS and to store Sum of Squares of the effects.