s2m {BayesfMRI}R 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


[Package BayesfMRI version 0.10.1 Index]