spm12_first_level: SPM12 fMRI First Level Model

View source: R/spm12_fmri_first_level.R

build_spm12_first_levelR Documentation

SPM12 fMRI First Level Model

Description

SPM12 fMRI First Level Model

Usage

build_spm12_first_level(
  ...,
  outdir = NULL,
  est_args = list(write_residuals = FALSE, method = "Classical", bayesian = NULL),
  verbose = TRUE
)

spm12_first_level(
  ...,
  outdir = NULL,
  est_args = list(write_residuals = FALSE, method = "Classical", bayesian = NULL),
  add_spm_dir = TRUE,
  spmdir = spm_dir(verbose = verbose, install_dir = install_dir),
  clean = TRUE,
  verbose = TRUE,
  install_dir = NULL
)

Arguments

...

Arguments passed to build_spm12_first_level_spec

outdir

output directory for results

est_args

Arguments passed to build_spm12_fmri_est

verbose

Print diagnostic messages

add_spm_dir

Add SPM12 directory from this package

spmdir

SPM dir to add, will use package default directory

clean

Remove scripts from temporary directory after running

install_dir

directory to download SPM12

Value

A list of objects, including an spm object and output files.


muschellij2/spm12r documentation built on Aug. 31, 2022, 9:49 p.m.