Skip to contents

Creates a human-readable p.value using sensible defaults for `format.pval()`.

Usage

paste_pval(x, digits = 1, p.digits = 4)

Arguments

x

A numeric. P-value to format.

digits

A numeric. Number of significant digits to round to.

p.digits

A numeric. Minimum number of digits to right of the decimal point.

Examples

paste_pval(0.061126e-10)
#> [1] "<0.0001"