This might be a long shot, but I thought I'd give ResearchGate a chance to prove itself.
I'm having trouble trying to conduct an ANCOVA in R when one of my variables is a time-dependent covariate. For simplicity sake, let's say I have variables Y, A, B, and X, where Y is my dependent variable, A is a between subjects factor with two levels, B is a within-subjects factor with 6 levels, and X is a continuous variable I want to add as a covariate and is measured at all levels of A and B.
Any help on how to conduct this in R using either lm(), lmer(), aov(), ezANOVA(), or something similar would be very helpful.
Thanks!