lpvalue: Formats p-values for LaTeX

lpvalueR Documentation

Formats p-values for LaTeX

Description

Returns <0.001 if pvalue is <0.001. Else rounds the pvalue to specified significant digits. Will bold the p-value if it is <= 0.05

Usage

lpvalue(x, sigdigits = 2)

Arguments

x

an integer

sigdigits

number of significant digit to report


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