disp {reporttools} | R Documentation |
This function serves to display numbers in plain text, using a given number of digits after the comma.
disp(n, d = 2)
n |
(Real) Number to be displayed. |
d |
Number of digits after the comma. |
t |
A character string containing the input number n formatted as specified by d. |
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com
r <- pi disp(r)