pretty_p_value: p-values in a human-readable string

View source: R/p-value.R

pretty_p_valueR Documentation

p-values in a human-readable string

Description

p-values in a human-readable string

Usage

pretty_p_value(x, minval = 1e-04)

Arguments

x

A numeric vector.

minval

The minimum p-value to show (lower values will show as paste0("<", minval)).

Value

A character vector of p-value representations.

Examples

pretty_p_value(c(1, 0, NA, 0.01, 0.0000001))
pretty_p_value(c(1, 0, NA, 0.01, 0.0000001), minval = 0.05)

gaborcsardi/prettyunits documentation built on March 8, 2024, 3:47 p.m.