hrf_time | R Documentation |
The hrf_time
function computes the value of an HRF, which is a simple linear function of time t
, when t
is greater than 0 and less than maxt
.
hrf_time(t, maxt = 22)
t |
A numeric value representing time in seconds. |
maxt |
A numeric value representing the maximum time point in the domain. Default value is 22. |
A numeric value representing the value of the HRF at the given time t
.
Other hrf_functions:
hrf_bspline()
,
hrf_gamma()
,
hrf_gaussian()
,
hrf_inv_logit()
,
hrf_mexhat()
,
hrf_sine()
,
hrf_spmg1()
# Compute the HRF value for t = 5 seconds with the default maximum time
hrf_val <- hrf_time(5)
# Compute the HRF value for t = 5 seconds with a custom maximum time of 30 seconds
hrf_val_custom_maxt <- hrf_time(5, maxt = 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.