Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /homepages/29/d34669344/htdocs/clickandbuilds/afexforum/wp-content/plugins/wp-markdown/markdownify/markdownify.php on line 299 Including a covariate – afex: Analysis of Factorial EXperiments
Hello, I want to ask how do I include a co-variate in the model when using the aov-car function.
Below is the syntax I have created, I am running a mixed model with time as a within variable and condition as a between variable:
fit.grat2 <-aov_car(grat ~ condition*time + Error(PPT/time),
I have specified that centered trait gratitude (centgrat) is meant to be a covariate. My question is whether I have to include it in the actual model like so instead:
fit.grat2 <-aov_car(grat ~ tgrat+condition*time + Error(PPT/time),
This topic was modified 1 year, 3 months ago by Melvin Sim. Reason: For clarity