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

roundpretty.sub

Subfunction for Roundpretty


Description

This function rounds the number in pretty way.

Usage

roundpretty.sub(k, maxdig)

Arguments

k

number to be rounded pretty

maxdig

maximum number of digits after the coma

Details

When maxdig is larger than 8 and the number is smaller than 0.00001, the number is rounded to 8 numbers after the coma. When the number ist smaller than 0.0001 the maximum numbers after the coma is 7, and so on.

Value

kr

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


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.