powered by
Enables a conversion between Probability of Direction (pd) and p-value.
pd_to_p(pd, direction = "two-sided", ...)p_to_pd(p, direction = "two-sided", ...)convert_p_to_pd(p, direction = "two-sided", ...)convert_pd_to_p(pd, direction = "two-sided", ...)
p_to_pd(p, direction = "two-sided", ...)
convert_p_to_pd(p, direction = "two-sided", ...)
convert_pd_to_p(pd, direction = "two-sided", ...)
A Probability of Direction (pd) value (between 0 and 1).
What type of p-value is requested or provided. Can be "two-sided" (default, two tailed) or "one-sided" (one tailed).
"two-sided"
"one-sided"
Arguments passed to or from other methods.
A p-value.
# NOT RUN { pd_to_p(pd = 0.95) pd_to_p(pd = 0.95, direction = "one-sided") # }
Run the code above in your browser using DataLab