how can I control the decimal point in r? Not only for printing but all the process.
options(digits=3) do not seems to work, because some of my statistics are 1000.9844 like this and some of my statistics are 0.3939 like this. I want to round it to the 4th digit, but if i use options(digits=4), 1000.9844 would be 1000.