s2m_B: Sequential 2-means on array B

View source: R/util.R

s2m_BR Documentation

Sequential 2-means on array B

Description

Sequential 2-means on array B

Usage

s2m_B(B, sigma)

Arguments

B

An array of posterior samples (typically a matrix), in which the last margin corresponds to a single posterior sample

sigma

A scale parameter used to determine at what distance cluster centers are considered to be the same.

Value

An array of dimension head(dim(B),-1) with a point estimate of B based on the sequential 2-means method


mandymejia/BayesfMRI documentation built on April 12, 2025, 3:44 p.m.