Round to 1 digits
dgt1.RdUse this function to round a vector.
Examples
dgt1(rnorm(10))
#> [1] -0.6 0.6 2.1 -1.6 0.5 -1.9 -0.5 -0.1 0.5 -0.9
dgt1.RdUse this function to round a vector.
dgt1(rnorm(10))
#> [1] -0.6 0.6 2.1 -1.6 0.5 -1.9 -0.5 -0.1 0.5 -0.9