Description Usage Arguments Value Examples
A round function that prroximates the way SPSS calculates round (always rounds 0.5*n up)
1 | spss_round(x, n = 0)
|
x |
The vector to round |
n |
digit number before floating point |
A vector of rounded values
1 2 | spss_round(c(0.50,0.49,1.5),0)
round(c(0.50,0.49,1.5),0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.