p.print: Formats p-values for readability.

Description Usage Arguments Value See Also

View source: R/p.print.R

Description

p.print() formats p-values for readability, with values floored at a lower limit.

Usage

1
p.print(p, llim, ...)

Arguments

p

A numeric vector of values between zero and one.

llim

A numeric value between zero and one (exclusive) specifying the lowest p-value to report. For example, if llim=0.001, values below this will be printed as "<0.001".

...

Other argments passed to format().

Value

Returns a character vector of p-values. Values >= than 0.1 are reported with two significant figures; values <0.1 are reported with one significant figure.

See Also

format.


mwrowe/microRutils documentation built on June 12, 2021, 2:41 p.m.