detect_clusters: Detect clusters and calculate mass statistics

View source: R/clustperm.R

detect_clustersR Documentation

Detect clusters and calculate mass statistics

Description

Detect clusters and calculate mass statistics

Usage

detect_clusters(.data, bin, stat, p, alpha = 0.05)

Arguments

.data

Data frame.

bin

Unquoted name of variable identifying bins.

stat

Unquoted name of variable with signed statistics.

p

Unquoted name of variable with p values.

alpha

Alpha level for each test.

Value

A data frame listing onset (b0) and offset (b0) of each cluster, along with the sign of the effect and cluster mass statistic (cms).

See Also

detect_clusters_by_effect for more than one effect.


dalejbarr/clusterperm documentation built on Oct. 29, 2022, 10:01 p.m.