dot-checkEVArgs: Validate event arguments.

.checkEVArgsR Documentation

Validate event arguments.

Description

Ensures that the event onsets, values, block IDs, and durations are consistent. In particular, it asserts that onsets have no NA values and are strictly increasing within each block.

Usage

.checkEVArgs(name, vals, onsets, blockids, durations = NULL)

Arguments

name

The name of the event.

vals

The event values.

onsets

Numeric vector of event onsets.

blockids

Numeric vector of block IDs.

durations

Numeric vector of durations (or a scalar).

Value

A list of validated event parameters.


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