Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

roundpretty

Roundpretty


Description

Round a value in a pretty way.

Usage

roundpretty(kvec, maxdig)

Arguments

kvec

the variable to be rounded

maxdig

maximum number of digits after the coma

Value

result

rounded value

Author(s)

References

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.

See Also

Examples

roundpretty(0.873463029,5)
roundpretty(0.073463029,5)
roundpretty(0.003463029,5)
roundpretty(0.000463029,5)

StatDA

Statistical Analysis for Environmental Data

v1.7.4
GPL (>= 3)
Authors
Peter Filzmoser
Initial release
2020-03-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.