Hi Teacher Chen,
The question that we asked you when you were in China has still bothered me.
I have 2 within-subject variables , name(self,other) and Time, 17 subjects. I want to get the effect of self - other on the basis of 6 time points.
Then I ran 3dMVM, but got this ERROR
Error: $ operator is invalid for atomic vectors.
I am confused because there is no any $ in my script.
Here is my script:
#!/bin/tcsh
3dMVM -prefix ./group_result/name_result/task1_output.MVM -jobs 2 \
-bsVars '1' \
-wsVars 'name*Time' \
-num_glf 3 \
-glfLabel 1 contrast_Time -glfCode 1 'name : 1*self - 1*other Time : 1*t0 & 1*t1 & 1*t2 & 1*t3 & 1*t4 & 1*t5' \
-glfLabel 2 self_Time -glfCode 2 'name : 1*self Time : 1*t0 & 1*t1 & 1*t2 & 1*t3 & 1*t4 & 1*t5' \
-glfLabel 3 other_Time -glfCode 3 'name : 1*other Time : 1*t0 & 1*t1 & 1*t2 & 1*t3 & 1*t4 & 1*t5' \
-dataTable \
Subj name Time InputFile
s1 self t0 subj001/beta/subj001_task1_self+tlrc'[0]' \
s1 self t1 subj001/beta/subj001_task1_self+tlrc'[1]' \
s1 self t2 subj001/beta/subj001_task1_self+tlrc'[2]' \
s1 self t3 subj001/beta/subj001_task1_self+tlrc'[3]' \
s1 self t4 subj001/beta/subj001_task1_self+tlrc'[4]' \
s1 self t5 subj001/beta/subj001_task1_self+tlrc'[5]' \
s1 other t0 subj001/beta/subj001_task1_other+tlrc'[0]' \
s1 other t1 subj001/beta/subj001_task1_other+tlrc'[1]' \
s1 other t2 subj001/beta/subj001_task1_other+tlrc'[2]' \
s1 other t3 subj001/beta/subj001_task1_other+tlrc'[3]' \
s1 other t4 subj001/beta/subj001_task1_other+tlrc'[4]' \
s1 other t5 subj001/beta/subj001_task1_other+tlrc'[5]' \
s2 self t0 subj003/beta/subj003_task1_self+tlrc'[0]' \
s2 self t1 subj003/beta/subj003_task1_self+tlrc'[1]' \
s2 self t2 subj003/beta/subj003_task1_self+tlrc'[2]' \
s2 self t3 subj003/beta/subj003_task1_self+tlrc'[3]' \
s2 self t4 subj003/beta/subj003_task1_self+tlrc'[4]' \
s2 self t5 subj003/beta/subj003_task1_self+tlrc'[5]' \
s2 other t0 subj003/beta/subj003_task1_other+tlrc'[0]' \
s2 other t1 subj003/beta/subj003_task1_other+tlrc'[1]' \
s2 other t2 subj003/beta/subj003_task1_other+tlrc'[2]' \
s2 other t3 subj003/beta/subj003_task1_other+tlrc'[3]' \
s2 other t4 subj003/beta/subj003_task1_other+tlrc'[4]' \
s2 other t5 subj003/beta/subj003_task1_other+tlrc'[5]' \
s3 self t0 subj005/beta/subj005_task1_self+tlrc'[0]' \
s3 self t1 subj005/beta/subj005_task1_self+tlrc'[1]' \
s3 self t2 subj005/beta/subj005_task1_self+tlrc'[2]' \
s3 self t3 subj005/beta/subj005_task1_self+tlrc'[3]' \
s3 self t4 subj005/beta/subj005_task1_self+tlrc'[4]' \
s3 self t5 subj005/beta/subj005_task1_self+tlrc'[5]' \
s3 other t0 subj005/beta/subj005_task1_other+tlrc'[0]' \
s3 other t1 subj005/beta/subj005_task1_other+tlrc'[1]' \
s3 other t2 subj005/beta/subj005_task1_other+tlrc'[2]' \
...........
s17 ......
I am looking forward to your reply, thank you so much!
Sincerely yours.