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


mandymejia/BayesGLMfMRI documentation built on April 12, 2025, 3:41 p.m.