Dear afni board,
I am using 3dLME, Version 1.0.1, April 8, 2008. The script works fine except when I add a contrast.
I have looked at the source (3dLME.R) and can see the line where it is crashing, but I can't understand what is wrong with my model file.
Below are relevant snippets from "model.txt" and "MyOutput".
Any insight is appreciated.
Regards,
Robert Terwilliger
******************************
model.txt
******************************
Data:Volume
Output:NeutCue_alc_vs_control
MASK:group_mask+tlrc.BRIK
Model:Grp*Time
COV:
RanEf:TRUE
VarStr:
CorStr:1~Time|Subj
SS:sequential
ConNeutCue-AlcNeutCue
con*0-alc*0
Subj Grp Time InputFile
0223 alc 1 alc_0223_NeutCue_00+tlrc
0223 alc 2 alc_0223_NeutCue_01+tlrc
0223 alc 3 alc_0223_NeutCue_02+tlrc
0223 alc 4 alc_0223_NeutCue_03+tlrc
0223 alc 5 alc_0223_NeutCue_04+tlrc
0223 alc 6 alc_0223_NeutCue_05+tlrc
0223 alc 7 alc_0223_NeutCue_06+tlrc
0223 alc 8 alc_0223_NeutCue_07+tlrc
0223 alc 9 alc_0223_NeutCue_08+tlrc
0223 alc 10 alc_0223_NeutCue_09+tlrc
0223 alc 11 alc_0223_NeutCue_10+tlrc
0223 alc 12 alc_0223_NeutCue_11+tlrc
0223 alc 13 alc_0223_NeutCue_12+tlrc
0300 alc 1 alc_0300_NeutCue_00+tlrc
0300 alc 2 alc_0300_NeutCue_01+tlrc
0300 alc 3 alc_0300_NeutCue_02+tlrc
0300 alc 4 alc_0300_NeutCue_03+tlrc
0300 alc 5 alc_0300_NeutCue_04+tlrc
0300 alc 6 alc_0300_NeutCue_05+tlrc
0300 alc 7 alc_0300_NeutCue_06+tlrc
0300 alc 8 alc_0300_NeutCue_07+tlrc
0300 alc 9 alc_0300_NeutCue_08+tlrc
0300 alc 10 alc_0300_NeutCue_09+tlrc
0300 alc 11 alc_0300_NeutCue_10+tlrc
0300 alc 12 alc_0300_NeutCue_11+tlrc
0300 alc 13 alc_0300_NeutCue_12+tlrc
1319 con 1 con_1319_NeutCue_00+tlrc
1319 con 2 con_1319_NeutCue_01+tlrc
1319 con 3 con_1319_NeutCue_02+tlrc
1319 con 4 con_1319_NeutCue_03+tlrc
1319 con 5 con_1319_NeutCue_04+tlrc
1319 con 6 con_1319_NeutCue_05+tlrc
1319 con 7 con_1319_NeutCue_06+tlrc
1319 con 8 con_1319_NeutCue_07+tlrc
1319 con 9 con_1319_NeutCue_08+tlrc
1319 con 10 con_1319_NeutCue_09+tlrc
1319 con 11 con_1319_NeutCue_10+tlrc
1319 con 12 con_1319_NeutCue_11+tlrc
1319 con 13 con_1319_NeutCue_12+tlrc
1432 con 1 con_1432_NeutCue_00+tlrc
1432 con 2 con_1432_NeutCue_01+tlrc
1432 con 3 con_1432_NeutCue_02+tlrc
1432 con 4 con_1432_NeutCue_03+tlrc
1432 con 5 con_1432_NeutCue_04+tlrc
1432 con 6 con_1432_NeutCue_05+tlrc
1432 con 7 con_1432_NeutCue_06+tlrc
1432 con 8 con_1432_NeutCue_07+tlrc
1432 con 9 con_1432_NeutCue_08+tlrc
1432 con 10 con_1432_NeutCue_09+tlrc
1432 con 11 con_1432_NeutCue_10+tlrc
1432 con 12 con_1432_NeutCue_11+tlrc
1432 con 13 con_1432_NeutCue_12+tlrc
*****************************
MyOutput
*****************************
............
+ names(sublist) <- names(Model)[2:(nfixed+1)]
+ clist[[n]][[ii]] <- sublist
+ }
+ }
+ }
Read 1 record
Read 2 records
Error in names(sublist) <- names(Model)[2:(nfixed + 1)] :
'names' attribute [2] must be the same length as the vector [1]
Execution halted