Learn R Programming

BayesfMRI (version 0.3.11)

s2m: Sequential 2-means variable selection

Description

Sequential 2-means variable selection

Usage

s2m(x, b)

Value

The number of nonzero values detected within x

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.