spm12_fmri_est: SPM12 FMRI Estimation

View source: R/spm12_fmri_est.R

spm12_fmri_estR Documentation

SPM12 FMRI Estimation

Description

SPM12 FMRI Estimation

Usage

spm12_fmri_est(
  ...,
  add_spm_dir = TRUE,
  spmdir = spm_dir(verbose = verbose),
  clean = TRUE,
  verbose = TRUE,
  install_dir = NULL
)

build_spm12_fmri_est(
  spm,
  write_residuals = FALSE,
  method = c("Classical", "Bayesian", "Bayesian2"),
  bayesian = list(space.volume.block_type = "Slices", signal = "UGL", ARP = 3,
    noise.UGL = 1, LogEv = "No", anova.first = "No", anova.second = "Yes", gcon =
    list(name = "", convec = numeric(0))),
  ...
)

Arguments

...

Arguments passed to matlabbatch_to_script

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

verbose

Print diagnostic messages

install_dir

directory to download SPM12

spm

Path to SPM.mat file

write_residuals

Should residuals be written?

method

Method for model estimation

bayesian

If method = "Bayesian", this is for a 1st level model Bayesian estimation and this list specifies the parameters

Value

A list of output and results


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