Hello people of AFNI!
I’m trying to run 3dLMEr on some data and I’m getting an error…
The command I’m running is:
3dLMEr -prefix antHippo.Cue \
-mask group_mask.nii \
-model 'Run*Learned+(1|Subj)' \
-qVars 'Run' \
-gltCode Succ 'Learned : 1*succ' \
-gltCode Unsucc 'Learned : 1*unsucc' \
-gltCode LearningGrp 'Learned : 1*succ -1*unsucc' \
-dataTable @Cue_antHippo.txt
And the error I’m getting is:
Error in apply(comArr[, , kk, ], c(1, 2), runLME, dataframe = lop$dataStr, :
object 'comArr' not found
Calls: aperm -> apply
Execution halted
According to the command output, all of the R packages are loading fine as well as the data table and the .nii input files…
I’m using AFNI version AFNI_21.0.04 ‘Titus’
I’m also using R version 3.6.2
My OS is CentOS Linux
The head of my table file (Cue_antHippo.txt) looks like this (note: there are a bunch of extra columns I’m not modeling at the moment):
Subj Acc RT Run Learned_Run Learned Acc_Total RT_Total InputFile
s04 0.594 631.594 1 no succ 0.875 490.003 sub-s04_ses-1_task-cdrl_run-1_space-MNI152NLin2009cAsym_desc-Cue_antHippo_corrZ.nii
s04 0.906 491.469 2 yes succ 0.875 490.003 sub-s04_ses-1_task-cdrl_run-2_space-MNI152NLin2009cAsym_desc-Cue_antHippo_corrZ.nii
Thanks for your help!