Estimate response function for each person using smoothed Finite Impulse Response.
sFIR(data, stimuli, response_length = 16, interval = 1)
Shape of response function and convolved time series vector.
The data to be used to estimate response function
A vector containing '0' when the stimuli of interest is not present and '1' otherwise. Number of observations across time must equal the length of data.
Time between observations; for fMRI this is the repetition time. Defaults to 1.