Hi Gang, Peter,
I still have troubles.
Loading required package: afex
Loading required package: car
Loading required package: lme4
Loading required package: Matrix
Loading required package: Rcpp
Loading required package: reshape2
************
Welcome to afex. Important notes:
Due to popular demand, afex doesn't change the contrasts globally anymore.
To set contrasts globally to contr.sum run set_sum_contrasts().
To set contrasts globally to the default (treatment) contrasts run set_default_contrasts().
All afex functions are unaffected by global contrasts and use contr.sum as long as check.contr = TRUE (which is the default).
************
Loading required package: phia
Error in `$<-.data.frame`(`*tmp*`, "Subj", value = integer(0)) :
replacement has 0 rows, data has 450
Calls: $<- -> $<-.data.frame
Execution halted
i have attached the scripts after adding the wsVars.
Thanks.
ping