R/main.R
pvalueAPA.Rd
APA p-value rounding
pvalueAPA(p, inline = FALSE, mindigits = 2, maxdigits = 3)
probabiity
to be used in an inline rmarkdown (default is FALSE)
minimum rounding digits
maximum rounding digits
character
pvalueAPA(0.01111) #> [1] ".01"