hrf_inv_logit: hrf_inv_logit

View source: R/hrf.R

hrf_inv_logitR Documentation

hrf_inv_logit

Description

A hemodynamic response function using the difference of two Inverse Logit functions.

Usage

hrf_inv_logit(t, mu1 = 6, s1 = 1, mu2 = 16, s2 = 1, lag = 0)

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).

Value

A vector of the difference of two Inverse Logit HRF values.

See Also

Other hrf_functions: hrf_bspline(), hrf_gamma(), hrf_gaussian(), hrf_mexhat(), hrf_sine(), hrf_spmg1(), hrf_time()

Examples

hrf_inv_logit_basis <- hrf_diff_inv_logit(seq(0, 20, by = 0.5), mu1 = 6, s1 = 1, mu2 = 16, s2 = 1)

bbuchsbaum/fmrireg documentation built on May 16, 2023, 10:56 a.m.