[R] Best way to remove double precision round off chaff
jasonkrupert at yahoo.com
Mon Jun 14 01:23:47 CEST 2010
I would like to get rid of the double precision round off chaff, so is the following the best way to handle it?
> round(0.625-0.8+0.45-0.275, digits=4)
Motivation for removing the chaff is for no other reason than to titty up the digits for display purposes and to help quicken the analysis of values that most definitely should be zero.
Thanks for any insights and feedback.
More information about the R-help