pvalue.str: Convert p-values into strings with inequalities.

Description Usage Arguments Examples

View source: R/misc.R

Description

Format p value into a string representation that can be used for publishing.

Usage

1
pvalue.str(ps, digits = 3, thresholds = c(0.001, 0.01))

Arguments

ps

a vector (or single scalar) of significance levels

digits

round maximum digits displayed

thresholds

vector of increasing significance levels at which exact p values should be replaced with "<threshold" labels

Examples

1
pvalue.str(1:8/101)

kevinstadler/cultevo documentation built on June 29, 2017, 8 p.m.