Hello Freesurfer Experts,
I am currently trying to run the Linear Mixed Effects Models described in the wiki here: http://surfer.nmr.mgh.harvard.edu/fswiki/LinearMixedEffectsModels
And I am running into difficulties that are fairly well described by the last message in this previous mail thread: https://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg25787.html
Can you please clarify the variable "ni"?
the following command: *[M,Y,ni] = sortData(M,1,Y,sID);* results in: ??? Error: File: sortData.m Line: 59 Column: 6 Expression or statement is incorrect--possibly unbalanced (, {, or [.
do i need to build "ni" ahead of time?
You probably don't need to know this, but I am using data generated by Freesurfer version 5.1, on matlab 7.8.0 (R2009a), which I gather will cause a few problems further down the line.
Thank you for your help, -Eric