History of AFNI updates  

|
March 12, 2021 09:44PM
Hello!

I've been running into a problem with the resid option in 3dMVM. For some reason, when I include the resid option I get the following warning messages early on:
Warning message:
In if (is.na(lop$wsVars)) showTab <- paste("~", lop$model) else { :
the condition has length > 1 and only the first element will be used

It seems to pop up after r packages are loaded:
Loading required package: car
Loading required package: carData

Once the model is done running, I get the following before the results:
Warning messages:
1: In if (!is.na(lop$wsVars) | !is.na(lop$mVar)) { :
the condition has length > 1 and only the first element will be used
2: In if (is.na(lop$wsVars) & is.na(lop$mVar)) { :
the condition has length > 1 and only the first element will be used
3: In if (is.na(lop$mVar) & is.na(lop$wsVars)) { :
the condition has length > 1 and only the first element will be used
4: In if (is.na(lop$mVar) & is.na(lop$wsVars)) { :
the condition has length > 1 and only the first element will be used
5: In if (is.na(lop$mVar) & is.na(lop$wsVars)) { :
the condition has length > 1 and only the first element will be used
6: In if (is.na(lop$mVar) & is.na(lop$wsVars)) { :
the condition has length > 1 and only the first element will be used
7: In if (is.na(lop$mVar) & is.na(lop$wsVars)) { :
the condition has length > 1 and only the first element will be used
8: In if (is.na(lop$mVar) & is.na(lop$wsVars)) { :
the condition has length > 1 and only the first element will be used

And the residual file is never created. My model is provided below with a few lines of data. For some reason, I only get this warning when I run the model with the resid option. I would really appreciate advice on this! Thank you!

3dMVM -prefix disswscannermaskedw -jobs 1 \
-mask minicolinmask+orig \
-bsVars "grp+scanner" \
-wsVars "time" \
-resid myresiduals \
-num_glt 5 \
-gltLabel 1 dep_v_ctrl_pre -gltCode 1 'grp : 1*dep -1*ctrl time : 1*pre' \
-gltLabel 2 dep_v_ctrl_post -gltCode 2 'grp : 1*dep -1*ctrl time : 1*post' \
-gltLabel 3 dep_pre_v_post -gltCode 3 'time : 1*pre -1*post grp : 1*dep' \
-gltLabel 4 ctrl_pre_v_post -gltCode 4 'time : 1*pre -1*post grp : 1*ctrl' \
-gltLabel 5 grp_time_interaction -gltCode 5 'grp : 1*dep -1*ctrl time : 1*pre -1*post' \
-dataTable \
Subj grp time scanner InputFile \
2419 ctrl pre 2 ${ppre}2419${po} \
2420 ctrl pre 2 ${ppre}2420${po} \
2421 ctrl pre 2 ${ppre}2421${po} \



Edited 1 time(s). Last edit at 03/12/2021 10:48PM by mstrege.
Subject Author Posted

3dMVM resid warning message and no file created

mstrege March 12, 2021 09:44PM

Re: 3dMVM resid warning message and no file created

mstrege March 13, 2021 07:55PM

Re: 3dMVM resid warning message and no file created

gang March 14, 2021 12:26PM