roundpretty {StatDA} | R Documentation |
Round a value in a pretty way.
roundpretty(kvec, maxdig)
kvec |
the variable to be rounded |
maxdig |
maximum number of digits after the coma |
result |
rounded value |
Peter Filzmoser <P.Filzmoser@tuwien.ac.at> http://www.statistik.tuwien.ac.at/public/filz/
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(0.873463029,5) roundpretty(0.073463029,5) roundpretty(0.003463029,5) roundpretty(0.000463029,5)