pvalues: Calculate permutation p-values from null-hypothesis...

View source: R/clustperm.R

pvaluesR Documentation

Calculate permutation p-values from null-hypothesis distributions

Description

Calculate permutation p-values from null-hypothesis distributions

Usage

pvalues(orig, nhds, key = "effect")

Arguments

orig

Data frame containing clusters for multiple effects detected on original data.

nhds

Data frame with nhds for each effect.

key

Key on which to join the data frames (i.e., quoted name of the variable identifying effects).

Value

Original data frame with extra column containing p-values for each effect and cluster.


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