A hemodynamic response function using the difference of two Inverse Logit functions.
Arguments
- t
A vector of times.
- mu1
The time-to-peak for the rising phase (mean of the first logistic function).
- s1
The width (slope) of the first logistic function.
- mu2
The time-to-peak for the falling phase (mean of the second logistic function).
- s2
The width (slope) of the second logistic function.
- lag
The time delay (default: 0).
See also
Other hrf_functions:
hrf_basis_lwu(),
hrf_bspline(),
hrf_gamma(),
hrf_gaussian(),
hrf_lwu(),
hrf_mexhat(),
hrf_sine(),
hrf_spmg1(),
hrf_time()
Examples
hrf_inv_logit_basis <- hrf_inv_logit(seq(0, 20, by = 0.5), mu1 = 6, s1 = 1, mu2 = 16, s2 = 1)