split_onsets.event_term: Split onsets of an event_term object.

View source: R/event_vector.R

split_onsets.event_termR Documentation

Split onsets of an event_term object.

Description

Splits the onsets based on factor levels or block IDs.

Usage

## S3 method for class 'event_term'
split_onsets(x, sframe, global = FALSE, blocksplit = FALSE, ...)

Arguments

x

An event_term object.

sframe

A data frame representing the sampling frame.

global

Logical; if TRUE, use global onsets (default: FALSE).

blocksplit

Logical; if TRUE, split onsets by block IDs (default: FALSE).

...

Additional arguments.

Value

A list of numeric vectors for each factor level or block.


bbuchsbaum/fmrireg documentation built on March 1, 2025, 11:20 a.m.