Skip to contents

Builds the per-subject baseline_model (from the template's baseline_spec, the dataset's sampling frame, and any nuisance regressors) and combines it with the event model into an fmri_model.

Usage

build_model(job, dataset = realize_dataset(job))

Arguments

job

An fmri_job.

dataset

The realized dataset (defaults to realize_dataset(job)).

Value

An fmri_model.

See also