Description Usage Arguments Details Value Author(s) See Also Examples
This function is used throughout multiple biostatrpts functions instead of the traditional round() function.
1 | rounds(x, digits = 0, as.numeric = FALSE)
|
x |
A number or numeric vector whose digits will be rounded |
digits |
Number of decimal places to round to |
as.numeric |
If FALSE the number returned is a character string. If TRUE the number returned is numeric |
Embedded into multiple biostatrpts functions to round values neatly and have consistent reporting.
A character or numeric string or vector
University of Wisconsin-Madison Biostatistics and Medical Informatics Department, Scott Hetzel M.S.
round()
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.