title: repeated measure Anova for all variables in R
body: <p>I perform repeated measure Anova, I have any variables(4 or more) and when I do it, I must conduct Anova for each variables separately.
  it's inconvenient for me, for example here code <code>rep.anova</code> for 2 variables - tember_body and SAD (i have 8 measures)</p>
  
  <pre><code>library("car")
  tabl20=read.csv("path to dataset",sep=";",dec=",")
  ageLevels &lt;- c(1, 2, 3,4,5,6,7,8)
  ageFactor &lt;- as.factor(ageLevels)
  ageFrame &lt;- data.frame(ageFactor)
  ageBind &lt;- cbind(tabl20$temper_body_v0,
                   tabl20$temper_body_v1,
                   tabl20$temper_body_v2,
                   tabl20$temper_body_v3,
                   tabl20$temper_body_v4,
                   tabl20$temper_body_v5,
                   tabl20$temper_body_v6,
                   tabl20$temper_body_v7)
  ageModel &lt;- lm(ageBind ~ 1)
  analysis &lt;- Anova(ageModel, idata = ageFrame, idesign = ~ageFactor)
  summary(analysis)
  ######
  tabl20=read.csv("path to data",sep=";",dec=",")
  ageLevels &lt;- c(1, 2, 3,4,5,6,7,8)
  ageFactor &lt;- as.factor(ageLevels)
  ageFrame &lt;- data.frame(ageFactor)
  ageBind &lt;- cbind(tabl20$SAD_v0,
                   tabl20$SAD_v1,
                   tabl20$SAD_v2,
                   tabl20$SAD_v3,
                   tabl20$SAD_v4,
                   tabl20$SAD_v5,
                   tabl20$SAD_v6,
                   tabl20$SAD_v7)
  
  ageModel &lt;- lm(ageBind ~ 1)
  analysis &lt;- Anova(ageModel, idata = ageFrame, idesign = ~ageFactor)
  summary(analysis)
  </code></pre>
  
  <p>How to perform rep.measure anova for all variables, for all at once, and not doing for each var analysis separately.</p>