View source: R/event_lock_timeseries.R
event_lock_ts | R Documentation |
function to get interpolated event locked data
event_lock_ts(
fmri_obj,
event = NULL,
time_before = -3,
time_after = 3,
collide_before = NULL,
collide_after = NULL,
pad_before = -1,
pad_after = 1,
time_audit = FALSE
)
fmri_obj |
An fmri_ts object containing time series data that are optionally keyed on one or more grouping variables (e.g., ROI). The fmri_obj must also contain trial-level data (in the $event_data field) for event-locking to proceed. |
event |
Name of column in |
time_before |
How many seconds before the |
time_after |
How many seconds after the |
collide_before |
An optional vector of column names in |
collide_after |
An optional vector of column names in |
pad_before |
Number of seconds to include in the epoch time window before the event of interest. Interpolation
spans the window from |
pad_after |
Number of seconds to include in the epoch time window after the event of interest. |
time_audit |
If TRUE, additional columns will be added to the output showing how alignment is calculated vis-a-vis event timing |
logfile |
Name of log file containing event-locking problems |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.