detect_clusters_by_effect: Detect clusters and calculate mass statistics for multiple...

View source: R/clustperm.R

detect_clusters_by_effectR Documentation

Detect clusters and calculate mass statistics for multiple effects

Description

Detect clusters and calculate mass statistics for multiple effects

Usage

detect_clusters_by_effect(.data, effect, bin, stat, p, alpha = 0.05)

Arguments

.data

Data frame.

effect

Unquoted name of variable identifying each effect.

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.

Details

Performs detect_clusters for each individual effect in the data frame.

Value

Data frame with effects, cluster onsets (b0) and offsets (b1) and cluster mass statistics (cms).


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