update_S: Update S for VB FC Template ICA

View source: R/VB_FCtemplateICA.R

update_SR Documentation

Update S for VB FC Template ICA

Description

Update S for VB FC Template ICA

Usage

update_S(
  mu_tau2,
  mu_A,
  E_AtA,
  D_inv,
  D_inv_S,
  BOLD,
  nICs,
  nvox,
  ntime,
  final = FALSE
)

Arguments

mu_tau2, mu_A, E_AtA

Most recent posterior estimates

D_inv, D_inv_S

Some pre-computed quantities.

BOLD

(T \times V matrix) preprocessed fMRI data.

nICs, nvox, ntime

Number of ICs, number of data locations, and time series length

final

If TRUE, return cov_S. Default: FALSE

Value

List of length three: mu_S (QxV), E_SSt (QxQ), and cov_S (QxQxV).


templateICAr documentation built on Oct. 14, 2024, 5:08 p.m.