Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

reportRmd (version 0.1.1)

lpvalue: 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