Convert fitted_hrf() output into a long tibble suitable for plotting.
Arguments
- x
An
fmri_lmobject.- sample_at
Numeric vector of time points passed to
fitted_hrf().- term
Optional term selector. When
NULL, all event terms are returned.- term_match
Matching mode for
term:"contains"(default),"exact", or"regex".- voxel
Integer voxel index to extract from each term's prediction matrix.
- average_voxels
Logical; if
TRUE, average across voxels instead of selecting one voxel.- ...
Additional arguments passed to
fitted_hrf().