gen_impulse_reg: Generate impulse regressors.

View source: R/fmrs.R

gen_impulse_regR Documentation

Generate impulse regressors.

Description

Generate impulse regressors.

Usage

gen_impulse_reg(
  onset,
  trial_type = NULL,
  mrs_data = NULL,
  tr = NULL,
  Ndyns = NULL,
  Ntrans = NULL
)

Arguments

onset

stimulus onset in seconds.

trial_type

string label for the stimulus.

mrs_data

mrs_data object for timing information.

tr

repetition time.

Ndyns

number of dynamic scans stored, potentially less than Ntrans if block averaging has been performed.

Ntrans

number of dynamic scans acquired.

Value

impulse regressors data frame.


spant documentation built on Sept. 11, 2024, 9:13 p.m.