What is the effect size `h` in `pwr::pwr.p.test` in `R`? The R package pwr has a function for calculating the required sample size for a one-sample proportion test (I assume a z-test but am open to being corrected). The documentation vaguely describes the h argument as the effect size without clarifying what, exactly, this means. I see two options.

*

*Some kind of $\epsilon$ for $p_0\pm\epsilon$ as a tolerable range of being "close enough" to a null hypothesis of $p=p_0$


*A measure on the odds scale
Is the correct answer one of these? Something else?
When I run the following line, I get a detectable effect size of h = 1.981018, so the additive scale does not make sense, but I am a bit surprised that the effect size might be given in odds.
pwr::pwr.p.test(n = 2, power = 0.8)

It appears to be Cohen's $h$, defined as follows for testing a null hypothesis of $H_0: p = p_0$ with tolerance of being within $p_{\tau}$ of $p_0$.
$$
h = 2\bigg\vert
\arcsin\big(\sqrt{p_0}\big)
-
\arcsin\big(\sqrt{p_{\tau}}\big)
\bigg\vert
$$
