If subject is identical to imageID and is included as a parameter the code breaks without an informative error. I think we should check for this and print a message along the lines of "There is a one-to-one mapping between subject and imageID, fitting a linear model".
If subject is identical to imageID and is included as a parameter the code breaks without an informative error. I think we should check for this and print a message along the lines of "There is a one-to-one mapping between subject and imageID, fitting a linear model".