Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

p_tidy

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

Quickly Create Elegant Regression Results Tables and Plots when Modelling

v1.0.2
MIT + file LICENCE
Authors
Ewen Harrison [aut, cre], Tom Drake [aut], Riinu Ots [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.