Skip to contents

Suppress the leading zero when printing p-values.

Usage

pValue(value, digits = 3)

Arguments

value

The p-value.

digits

Number of decimal digits for printing the p-value.

Value

p-value.

Details

[INSERT].

See also

Other formatting: apa(), specify_decimal(), suppressLeadingZero()

Examples

pValue(0.70)
#> [1] "=.700"
pValue(0.04)
#> [1] "=.040"
pValue(0.00002)
#> [1] "< .001"



Developmental Psychopathology Lab