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

num_print

Numbering printing with signed zeroes and trailing zeroes


Description

This function will print exactly the amount of digits requested as well as signed zeroes when appropriate (e.g, -0.00).

Usage

num_print(x, digits = getOption("jtools-digits", 2), format = "f")

Arguments

x

The number(s) to print

digits

Number of digits past the decimal to print

format

equal to "d" (for integers), "f", "e", "E", "g", "G", "fg" (for reals). Default is "f"


jtools

Analysis and Presentation of Social Scientific Data

v2.1.3
MIT + file LICENSE
Authors
Jacob A. Long [aut, cre] (<https://orcid.org/0000-0002-1582-6214>)
Initial release

We don't support your browser anymore

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