Thank you for pointing that out! However, the model still does not run and produces the error that essentially says:
"Make sure that packages nlme and phia are installed
Inappropriate model specification with options -model, or -qVars
Incorrect specifications in general linear test coding with -gltCode
Mistakes in data table
Inconsistent variable names that are case sensitive"
We know the the R packages are installed, and that the data table has consistent variable names and no missing values, so any suggestions about what could be going wrong with the model or glt coding would be greatly appreciated!