getPValueCutoff: This function returns the significance levels for min, max,...

Description Usage Arguments Value Examples

View source: R/deltaCaptureC.R

Description

Given an Nx4 matrix with columns 'min','max','abs' and 'lopsidededness', this function returns the cutoff levels for a given pValue.

Usage

1
getPValueCutoff(runStats, p = 0.05)

Arguments

runStats

a matrix with columns 'min','max','abs' and 'lopsidededness'

p

=.05 the desired p-value

Value

a vector with cutoff values

Examples

1
2
3
dimnames = list(c(),c('min','max','abs','lopsidedness'))
m = 10 * (matrix(runif(400),ncol=4,dimnames=dimnames) - 0.5)
cutoffs = getPValueCutoff(m,.05)

deltaCaptureC documentation built on Nov. 8, 2020, 5:31 p.m.