disp | R Documentation |
This function serves to display numbers in plain text, using a given number of digits after the comma.
disp(n, d1 = 2, d2 = 1)
n |
Vector of real numbers to be displayed. |
d1 |
Number of digits numbers are basically rounded to. |
d2 |
If numbers in |
t |
A vector of character strings containing the input number |
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch
r <- c(0.23445, 0.000089)
disp(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.