get_stcs: Supra-Threshold Cluster Size

View source: R/get_stcs.R

get_stcsR Documentation

Supra-Threshold Cluster Size

Description

From data in a matrix, finds the largest cluster size of grid cells above the specified threshold.

Usage

get_stcs(data, alpha_local, null_distribution, data_dim)

Arguments

data

Matrix containing data. Should be a statistical image, i.e., the test statistic of each grid cell

data_dim

dimesions of original data. Used for calculating df for t distributed test statistics, ignored if the test statistic is normal

thr

Threshold of significance.

Value

A number specifying the size, in number of grid cells, of the largest exceedance cluster.


jcortesr/PerMuTe documentation built on July 31, 2023, 8:03 a.m.