or" href="#details"></a>Details</h2>

    <p>Method "both" for each element in <code>obs</code> computes two-sided p-value
as <code><a href='https://rdrr.io/r/base/Extremes.html'>min(1, 2 * min(right_p_val, left_p_val))</a></code>, where <code>right_p_val</code> and
<code>left_p_val</code> are right and left one-sided p-values (ones which are computed
with "right" and "left" methods) of <code>obs</code>'s elements correspondingly.</p>
<p>Method "right" for each element <code>x</code> of <code>obs</code> com