Learn R Programming

ffstream (version 0.1.7.2)

computeTwoSidedPvalueR: Compute a two-sided p-value from a quantile value

Description

Wrapper function to compute a two-sided p-value from a statistics or quantile value, with the aid of lower and upper bounds.

Usage

computeTwoSidedPvalueR(x, a, b)

Arguments

x

The two-sided p-value to be converted.

a

The lower bound, e.g. 0.

b

The upper bound, e.g. 2.