Re: [R] mysterious rounding digits output

2018-05-31 Thread Ted Harding
Thanks Martin! Good to know that you have made this important change, And, regarding Maybe we should additionally say that this is *not* round()ing, and give a link to the help for signif() ? I think that also would be most useful. In fact, ?signif leads to a whole survey of "Rounding of

Re: [R] mysterious rounding digits output

2018-05-31 Thread Martin Maechler
> Ted Harding > on Thu, 31 May 2018 07:10:32 +0100 writes: > Well pointed out, Jim! > It is infortunate that the documentation for options(digits=...) > does not mention that these are *significant digits* > and not *decimal places* (which is what Joshua seems to

Re: [R] mysterious rounding digits output

2018-05-31 Thread Ted Harding
Well pointed out, Jim! It is infortunate that the documentation for options(digits=...) does not mention that these are *significant digits* and not *decimal places* (which is what Joshua seems to want): "‘digits’: controls the number of digits to print when printing numeric values." On the

Re: [R] mysterious rounding digits output

2018-05-30 Thread Joshua N Pritikin
On Thu, May 31, 2018 at 03:30:42PM +1000, Jim Lemon wrote: > Because there are no values in column ddd less than 1. Whoa! Thank you for pointing that out. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] mysterious rounding digits output

2018-05-30 Thread Jim Lemon
Hi Joshua, Because there are no values in column ddd less than 1. itemInfo[3,"ddd"]<-0.3645372 itemInfo aaa bbb ccc dddeee skill 1.396 6.225 0.517 5.775 2.497 predict 1.326 5.230 0.462 5.116 -2.673 waiting 1.117 4.948NA 0.365 NA complex 1.237 4.170 0.220