Skip to contents

Computes a two-sided p-value from a one-sided p-value.

Usage

two_sided_p(p)

Arguments

p

a vector of p-values

Value

a vector of two-sided p-values