pval_smartformat {varian}R Documentation

nice formatting for p-values

Description

nice formatting for p-values

Usage

pval_smartformat(p, d = 3, sd = 5)

Arguments

p

a numeric pvalue

d

the digits less than which should be displayed as less than

sd

scientific digits for round

Author(s)

Joshua F. Wiley <josh@elkhartgroup.com>

Examples

varian:::pval_smartformat(c(1, .15346, .085463, .05673, .04837, .015353462,
  .0089, .00164, .0006589, .0000000053326), 3, 5)

[Package varian version 0.2.2 Index]