Description Usage Arguments Value Examples
for a data.frame or list, round all numerical variables to specified number of significant digits
1 | sigDF(x, digits = 3)
|
x |
a |
digits |
teh number of significant digits |
the same object and size as x, but all numerical values are rounded
1 2 3 | a <- data.frame(num = rnorm(4),
char = letters[1:4])
sigDF(a, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.