and TIA for any guidance provided!
I have created a linear mixed effects model using lmer. The model predicts reaction time of an athlete using two fixed effects (both are continuous variables): the number of head impacts experienced and the time (in days) between their last head impact and the date of the reaction time test. I have random effects controlling for athlete and test date (a total of 127 players and 5 test dates). There are a total of 15,413 data points in this prediction equation.
anti.lat.impacts <- lmer( RT ~ Cumulative.Head.Impacts + Date.Difference + (1|Analysis.ID) + (1|TestNumber), data = Correct.AntiSaccade1, REML=FALSE, control = lmerControl(optimizer ="Nelder_Mead"))
I am attempting to run the Anova function on this prediction equation to see if the fixed effect of cumulative head impacts affects the reaction time prediction.
Anova(anti.lat.impacts,type=3, test="F")
However, after an hour of waiting for the function to complete, I receive the Error message:
Error: vector memory exhausted (limit reached?)
Can anyone provide some assistance on how I might bypass this error?
For reference, I am running
sessionInfo()
R version 4.0.0 (2020-04-24)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: OS X Snow Leopard 11.6.8
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib