Skip to contents

APA p-value rounding

Usage

pvalueAPA(p, inline = FALSE, mindigits = 2, maxdigits = 3)

Arguments

p

probabiity

inline

to be used in an inline rmarkdown (default is FALSE)

mindigits

minimum rounding digits

maxdigits

maximum rounding digits

Value

character

Examples

pvalueAPA(0.01111)
#> [1] ".01"