split_onsets.event_term | R Documentation |
This function splits the onsets of an event_term object based on its factor levels or block identifiers. It is useful for processing fMRI data when analyzing event-related designs with multiple conditions or blocks.
## S3 method for class 'event_term'
split_onsets(x, sframe, global = FALSE, blocksplit = FALSE, ...)
x |
An event_term object |
sframe |
A data frame representing the sampling frame |
global |
A logical value indicating whether to use global onsets (default: FALSE) |
blocksplit |
A logical value indicating whether to split onsets by block identifiers (default: FALSE) |
... |
Additional arguments passed to other methods |
A list of numeric vectors representing the split onsets for each factor level or block identifier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.