s2m: Sequential 2-means variable selection

View source: R/util.R

s2mR Documentation

Sequential 2-means variable selection

Description

Sequential 2-means variable selection

Usage

s2m(x, b)

Arguments

x

A vector consisting of all variables of interest for a single draw from a posterior distribution

b

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

Value

The number of nonzero values detected within x


BayesfMRI documentation built on April 4, 2025, 1:58 a.m.