[R] Syntax differences between aov and lmer for 2-way repeated measures design using a mixed model

2019-04-12 Thread Uri Eduardo Ramírez Pasos
Hi everyone, I'm working with the following data frame using R. It consists of measurements obtained from 7 subjects with two independent variables (IV1 and IV2) with two levels each (OFF/ON, ALT/ISO, respectively): >myData Subject DV IV1 IV2 1 2.567839 OFF AL

[R] ANOVA for one subject

2017-03-28 Thread Uri Eduardo Ramírez Pasos
Dear everyone, I have a 2x3 design (medication x stimulus type) but very few subjects (6) and I would like to perform intra-subject stats using r's aov (I've already run the group analysis). Is there a conceptual problem with this, as long as I don't interpret the results as representative of the