powered by
Round a value in a pretty way.
roundpretty(kvec, maxdig)
the variable to be rounded
maximum number of digits after the coma
rounded value
C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.
roundpretty.sub
# NOT RUN { roundpretty(0.873463029,5) roundpretty(0.073463029,5) roundpretty(0.003463029,5) roundpretty(0.000463029,5) # }
Run the code above in your browser using DataLab