formatp: Specific p-value formatting

View source: R/helper.R

formatpR Documentation

Specific p-value formatting

Description

If p < 0.001 returns "<0.001", if p < 0.01 returns p to 3 decimal places otherwise returns p to 2 decimal places

Usage

formatp(pvalues)

Arguments

pvalues

a vector of p values


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