Raw File
Tip revision: 3da49db3cf0eea4d2c5eba241ddb5470cd7dd929 authored by Dominique Makowski on 26 January 2021, 16:40 UTC
version 0.8.2
Tip revision: 3da49db
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert_pd_to_p.R
\title{Convert 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", ...)
\item{pd}{A Probability of Direction (pd) value (between 0 and 1).}

\item{direction}{What type of p-value is requested or provided. Can be \code{"two-sided"} (default, two tailed) or \code{"one-sided"} (one tailed).}

\item{...}{Arguments passed to or from other methods.}

\item{p}{A p-value.}
Enables a conversion between Probability of Direction (pd) and p-value.
pd_to_p(pd = 0.95)
pd_to_p(pd = 0.95, direction = "one-sided")
back to top