correct_mult_comp: Multiple comparison correction

Description Usage Arguments Value References See Also

Description

Applies multiple comparison correction by controlling the false discovery rate (FDR) using the modified FDR procedure by Benjamini and Yekutieli (2001)

Usage

1
correct_mult_comp(data, var_name, threshold = 0.05)

Arguments

data

tbl. A tidy data frame with statistical test results

var_name

character (vector). Column name(s) with p-values

threshold

double. False discovery rate, Default: 0.05

Value

tbl. The input data frame with an additional column indicating whether a p-value survived multiple comparison correction

References

Benjamini, Y., & Yekutieli, D. (2001). The control of the false discovery rate in multiple testing under dependency. The Annals of Statistics, 29 (4), 1165–1188.

See Also

stats::p.adjust()


idea-labs/comsldpsy documentation built on April 14, 2020, 4:28 p.m.