pd_to_p {bayestestR} | R Documentation |
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", ...)
pd |
A Probability of Direction (pd) value (between 0 and 1). |
direction |
What type of p-value is requested or provided. Can be
|
... |
Arguments passed to or from other methods. |
p |
A p-value. |
pd_to_p(pd = 0.95)
pd_to_p(pd = 0.95, direction = "one-sided")