Learn R Programming

utile.tools (version 0.3.0)

paste_pval: Paste p-value

Description

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

Run this code
paste_pval(0.061126e-10)

Run the code above in your browser using DataLab