roundpretty: Roundpretty

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/roundpretty.R

Description

Round a value in a pretty way.

Usage

1
roundpretty(kvec, maxdig)

Arguments

kvec

the variable to be rounded

maxdig

maximum number of digits after the coma

Value

result

rounded value

Author(s)

Peter Filzmoser <P.Filzmoser@tuwien.ac.at> http://cstat.tuwien.ac.at/filz/

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

roundpretty.sub

Examples

1
2
3
4
roundpretty(0.873463029,5)
roundpretty(0.073463029,5)
roundpretty(0.003463029,5)
roundpretty(0.000463029,5)

StatDA documentation built on March 13, 2020, 2:42 a.m.

Related to roundpretty in StatDA...