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

Share:

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

1
convertPvalueToCorrectSideR(p)

Arguments

p

The two-sided p-value to be converted.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.