disp {reporttools} | R Documentation |
Display vectors of numbers, especially targeted to vectors of p-values
Description
This function serves to display numbers in plain text, using a given number of digits after the comma.
Usage
disp(n, d1 = 2, d2 = 1)
Arguments
n |
Vector of real numbers to be displayed. |
d1 |
Number of digits numbers are basically rounded to. |
d2 |
If numbers in |
Value
t |
A vector of character strings containing the input number |
Author(s)
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch
Examples
r <- c(0.23445, 0.000089)
disp(r)
[Package reporttools version 1.1.3 Index]