lpvalue {reportRmd}R 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


[Package reportRmd version 0.1.0 Index]