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

View source: R/deltaCaptureC.R

getPValueCutoffR Documentation

This function returns the significance levels for min, max, "abs" and lopsidedness.

Description

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

Usage

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

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

michaeldshapiro/deltaCaptureC documentation built on April 21, 2023, 8:18 a.m.