pval_string: Easy p-value formatting

Description Usage Arguments Value Note Examples

View source: R/cleanup_helpers.R

Description

Easy p-value formatting

Usage

1

Arguments

pv

A p-value in numeric form.

Value

A formatted character representation of the input value.

Note

Simplified version of pixiedust::pvalString which considers < 0.05.

Examples

1
2
3
pv <- c(.9, .2, .049, .009, .000003)
names(pv) <- pval_string(pv)
pv

tadaatoolbox documentation built on July 2, 2020, 2:30 a.m.