gen_empirical_hrf
generates an empirical hemodynamic response function (HRF) using provided time points and HRF values.
Examples
y <- -poly(0:24, 2)[,2]
emphrf <- gen_empirical_hrf(0:24, y)
## plot(emphrf(seq(0,24,by=.5)), type='l')
gen_empirical_hrf
generates an empirical hemodynamic response function (HRF) using provided time points and HRF values.
y <- -poly(0:24, 2)[,2]
emphrf <- gen_empirical_hrf(0:24, y)
## plot(emphrf(seq(0,24,by=.5)), type='l')