p_tidy: Round p-values but keep trailing zeros

p_tidyR Documentation

Round p-values but keep trailing zeros

Description

Internal function, not called directly

Usage

p_tidy(x, digits, prefix = "=")

Arguments

x

Numeric vector of values to round

digits

Integer of length one: value to round to.

prefix

Appended in front of values for use with condense_fit.

Details

e.g. for 3 decimal places I want 0.100, not 0.1. Note this function with convert 0.000 to <0.001. All other values are prefixed with "=" by default

Value

Vector of strings.


finalfit documentation built on Sept. 11, 2024, 9:01 p.m.