I want the number of significant figures in my whole R-code to be 15. The option:
options(digits=15)
does not give me the output I want. It is rounding a result to the least number of significant digits. It gives me for example the output:
-1.234567890123456
-0.123456789012345
The number of significant digits of the second number is the smallest, so R sets this on 15. The first number is then by R with the same number of decimal places. This gives for the first number significant factors 16. What I want is 15 significant factors for all numbers in my output. So what I want is:
-1.23456789012345
-0.123456789012345
How can this be done for every output?
Any help is appreciated.