cluster_fast_masses: cluster_fast_masses

View source: R/cluster_fast.R

cluster_fast_massesR Documentation

cluster_fast_masses

Description

Mass of every supra-threshold cluster on a statistic surface. Mass is the sum of absolute values within a cluster, so it responds to both the size of a region and the strength of the values inside it.

Usage

cluster_fast_masses(r_mat, thr)

Arguments

r_mat

numeric matrix of the statistic

thr

forming threshold on the absolute statistic

Value

numeric vector of cluster masses, or 0 when nothing forms


dendroTools documentation built on Nov. 23, 2026, 9:07 a.m.