This function generates a continuous valued event set object from a given matrix. It is useful for creating event sequences with multiple continuous predictors for fMRI data analyses.
Arguments
- mat
A matrix of continuous event sequence values, with one row per event
- name
A character string providing a name for the event set
- onsets
A numeric vector of onsets for each event in the sequence
- blockids
A numeric vector of block identifiers for each event in the sequence (default: 1)
- durations
A numeric vector of durations for each event in the sequence (default: NULL)