round_pval: A rounding function for pvalues

View source: R/round_pval.R

round_pvalR Documentation

A rounding function for pvalues

Description

This function takes a numeric value and rounds it. It is most useful for R output that is more than three decimal places long.

Usage

round_pval(x)

Arguments

x

(numeric) A p-value to round

Examples

round_pval(0.03765)
round_pval(0.0000001)

jvcasillas/academicWriteR documentation built on Dec. 28, 2024, 5:09 p.m.