Learn R Programming

simctest (version 2.5)

hBH-methods: Method for class `mcmtest', Package `simctest'

Description

Implementation of the multiple testing procedure by Benjamini-Hochberg.

Usage

hBH(p, threshold)

Arguments

p

object of type "numeric".

threshold

object of type "numeric".

Methods

hBH(p, threshold)

applies the Benjamini-Hochberg procedure to p-values p with given threshold, returns rejected indices

Examples

Run this code
# NOT RUN {
hBH(runif(10),threshold=0.1)
# }

Run the code above in your browser using DataLab