pvalue: Formats p-values

View source: R/helper.R

pvalueR Documentation

Formats p-values

Description

Returns <0.001 if pvalue is <0.001. Else rounds the pvalue to specified significant digits

Usage

pvalue(x, digits)

Arguments

x

an integer

digits

the number of significant digits to return


reportRmd documentation built on April 4, 2025, 2:03 a.m.