View source: R/fmrilm.R View source: R/fmri_model_utils.R View source: R/fmri_model.R
create_fmri_model | R Documentation |
This function creates an fmri_model
object from a formula, block specification,
and dataset. It's a convenience function that combines event and baseline models.
This function creates an fmri_model
by combining an event model and a baseline model.
If a baseline model is not provided, a default one is created based on the dataset.
create_fmri_model(
formula,
block,
baseline_model = NULL,
dataset,
drop_empty = TRUE,
durations = 0
)
create_fmri_model(
formula,
block,
baseline_model = NULL,
dataset,
drop_empty = TRUE,
durations = 0
)
formula |
The model formula for experimental events. |
block |
The model formula for block structure. |
baseline_model |
(Optional) A |
dataset |
An |
drop_empty |
Logical. Whether to remove factor levels with zero size. Default is |
durations |
A vector of event durations. Default is |
An fmri_model object
An fmri_model
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.