I have data that one subject with 8 runs. In one run, supposing the conditions are like this:
onset duration trial_type
0.01 6 1
12 6 3
24 6 2
36.01 6 3
50.0 6 1
64 6 2
76 6 1
90 6 3
102 6 2
TR is 2, the question is how the design input matrix should be like.