I’m having trouble running a 3dMVM script using the robust option. I keep getting the following error:
Error in if (fm$converged) { : argument is of length zero
Calls: aperm → apply → FUN
Execution halted
This occurs at various times when I try to run it, sometimes right after reading the input files and sometimes all the way down at Slice 75. Most recently it stopped after Slice 12. I’ve run the same script without the ‘-robust’ option with no problem. AFNI is up-to-date (Version AFNI_20.0.24), and the R version I have is 3.6.3. I’ve pasted my 3dMVM script up to the first line of the data table below. Any help with this would be great.
Thanks,
Kara
3dMVM -prefix er_loc_p_neg_coded_ratio_sex_look_32y_3dmvm_robust -jobs 1 -robust
-bsVars “neg_ratio_coded+age+sex”
-qVars “neg_ratio_coded,age”
-num_glt 2
-gltLabel 1 neg_ratio_coded -gltCode 1 ‘neg_ratio_coded :’
-gltLabel 2 age -gltCode 2 ‘age :’
-dataTable
Subj neg_ratio_coded age sex InputFile
aa001 0 15 F …/stats.c.hc.aa001+tlrc’[Look.Negative_vs_Neutral_GLT#0_Coef]’ \