convertPvalueToCorrectSideR: Convert a 'p-value' to the correct side.

View source: R/utils.R

convertPvalueToCorrectSideRR Documentation

Convert a 'p-value' to the correct side.

Description

Wrapper function to convery a two-sided p-value to a one-sided 'p-value' (values close to 0 and close to 1 both become close to 0). For example, both 0.01 and 0.99 are mapped to 0.01.

Usage

convertPvalueToCorrectSideR(p)

Arguments

p

The two-sided p-value to be converted.


ffstream documentation built on May 31, 2023, 7:53 p.m.