View source: R/event_lock_timeseries.R
interpolate_fmri_epochs | R Documentation |
Interpolate an aligned fmri_ts object onto a consistent time grid with respect to a target event
interpolate_fmri_epochs(
a_obj,
evt_time = "evt_time",
time_before = -3,
time_after = 3,
output_resolution = 1,
group_by = NULL,
time_audit = FALSE
)
a_obj |
an fmri_ts object that has data aligned to an event of interest |
evt_time |
column name in |
time_before |
The earliest time point (in seconds) relative to the event to be output in interpolation |
time_after |
The latest time point (in seconds) relative to the event to be output in interpolation |
output_resolution |
The timestep (in seconds) used for interpolation |
group_by |
a character vector of keying variables used for aggregation of data prior to interpolation |
time_audit |
If TRUE, additional columns will be added to the output showing how alignment is calculated vis-a-vis event timing |
Michael Hallquist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.