Skip to contents

Re-exported functions from the fmrihrf package for convenience. See the upstream fmrihrf documentation for details on usage and return values of each function.

These functions are re-exported from the fmrihrf package. Note: When both packages are loaded, R will show masking warnings. This is expected and harmless - the functions work identically.

Usage

onsets(x, ...)

durations(x, ...)

blockids(x, ...)

Value

See the corresponding fmrihrf function documentation.

Details

The following generics are re-exported:

  • onsets: Extract onset times from event objects

  • durations: Extract durations from event objects

  • blockids: Extract block identifiers

fmridesign adds S3 methods for these generics to work with:

  • event_term objects

  • convolved_term objects

  • event_model objects