p_val_labeller: Returns nicely formatted p values

Description Usage Arguments

Description

Returns nicely formatted p values

Usage

1
p_val_labeller(pval, sigfigs = 2, cutoff = 0.001, plotmath = TRUE)

Arguments

pval

A vector of pvalues

sigfigs

The number of significant figures to which to round each p value

cutoff

The number below which the pvalue will be reported as "p<cutoff"

plotmath

Whether to format for plotmath or plain text. Plotmath uses "p==", which will display onscreen as "p=" if it is interpreted as plotmath


adsteen/subspec documentation built on May 10, 2019, 7:27 a.m.