| .sim_phasic | R Documentation |
Build the additive phasic (task-evoked) pupil response component
.sim_phasic(t, onsets_s, amps, n, t_max)
t |
Numeric vector of sample times in seconds |
onsets_s |
Numeric vector of stimulus onset times in seconds |
amps |
Numeric vector of per-onset peak amplitudes (a.u.) |
n |
Erlang shape parameter |
t_max |
Time-to-peak in seconds |
A numeric vector the same length as t
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.