gen_empirical_hrf | R Documentation |
gen_empirical_hrf
generates an empirical hemodynamic response function (HRF) using provided time points and HRF values.
gen_empirical_hrf(t, y, name = "empirical_hrf")
t |
Time points. |
y |
Values of HRF at time |
name |
Name of the generated HRF. |
An instance of type HRF
inheriting from function
.
y <- -poly(0:24, 2)[,2]
emphrf <- gen_empirical_hrf(0:24, y)
## plot(emphrf(seq(0,24,by=.5)), type='l')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.