pcut: Calculate the proportion of rejections for given levels.

Description Usage Arguments Value Author(s) Examples

Description

The proportion of rejections is the number of all rejections divided by the number of all p values.

Usage

1
pcut(p, levels = c(1e-06, 1e-05, 1e-04, 0.001, 0.01, 0.05, 0.1))

Arguments

p

Numeric matrix or vector of p values.

levels

A numeric vector of p value thresholds.

Value

A numeric vector of proportion of rejections with the same length of levels

Author(s)

Yilun Zhang, David Rocke

Examples

1
2
pp =runif(10000)
pcut(pp)

lunge111/intSEQ documentation built on May 20, 2019, 9:38 a.m.