View source: R/glm_helper_functions.R
populate_last_events | R Documentation |
Internal function to add last_onset and last_offset columns to gpa$run_data based on events in l1_models
populate_last_events(gpa, lg)
gpa |
a |
lg |
a Logger object for logging results |
The last_onset and last_offset columns are calculated for each run based on the timing of all events in the $l1_models$events list. These are then used to facilitate run truncation if the user requests truncation after a final onset or offset.
a modified copy of gpa with $run_data populated with last_offset and last_onset columns (times in seconds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.