detect_clusters_by_effect | R Documentation |
Detect clusters and calculate mass statistics for multiple effects
detect_clusters_by_effect(.data, effect, bin, stat, p, alpha = 0.05)
.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. |
Performs detect_clusters
for each individual effect in the data frame.
Data frame with effects, cluster onsets (b0
) and offsets (b1
) and cluster mass statistics (cms
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.