BayesGLM_argChecks: Bayes GLM arg checks

View source: R/BayesGLM_utils.R

BayesGLM_argChecksR Documentation

Bayes GLM arg checks

Description

Checks arguments for BayesGLM and fit_bayesglm

Usage

BayesGLM_argChecks(
  scale_BOLD = c("mean", "sd", "none"),
  Bayes = TRUE,
  EM = FALSE,
  ar_order = 6,
  ar_smooth = 5,
  aic = FALSE,
  n_threads = 4,
  return_INLA = c("trimmed", "full", "minimal"),
  verbose = 1,
  meanTol = 1e-06,
  varTol = 1e-06,
  emTol = 0.001
)

Arguments

scale_BOLD

See BayesGLM.

Bayes, EM

See BayesGLM.

ar_order, ar_smooth, aic

See BayesGLM.

n_threads

See BayesGLM.

return_INLA

See BayesGLM.

verbose

See BayesGLM.

meanTol, varTol, emTol

See BayesGLM.

Details

Avoids duplicated code between BayesGLM and fit_bayesglm

Value

The arguments that may have changed, in a list: scale_BOLD, do_Bayesian, do_EM, and do_pw.


hrf documentation built on April 3, 2025, 10:36 p.m.