ucr.format.p: Format p values for readability.

View source: R/ucr_common.r

ucr.format.pR Documentation

Format p values for readability.

Description

Utility function that formats a P value array to a string array. Smaller values than 'min.p' (a string!) will be replaced by strings like "< 0.001".

Usage

ucr.format.p(p, min.p = "0.001")

Arguments

p

the p value to format

min.p

string indicating minimum value to display explicitly

Author(s)

Lars Lindhagen

See Also

format, sprintf

Examples

ucr.format.p(0.0000456, min.p="0.01")

renlund/ucR documentation built on March 25, 2023, 10:10 a.m.