[R] inconsistent output using 'round'

2007-04-19 Thread Bob Green
I am hoping for some advice regarding limiting decimal points to 3. 'Round' produces the desired results except for the 97.5% confidence interval. Any advice as to how I modify the code to obtain output to 3 decimal points for all ouput is appreciated, regards Bob Green mod.multgran

Re: [R] inconsistent output using 'round'

2007-04-19 Thread Peter Dalgaard
Bob Green wrote: I am hoping for some advice regarding limiting decimal points to 3. 'Round' produces the desired results except for the 97.5% confidence interval. Any advice as to how I modify the code to obtain output to 3 decimal points for all ouput is appreciated, The rounding is

Re: [R] inconsistent output using 'round'

2007-04-19 Thread Bob Green
Peter, Many thanks. I have never seen a confidence interval from 0.000 to 6265941604681544800.000 - this is a worry. I am also still puzzled why use of digits = 3, produced output which includes 2, 3 and 4 decimal points as per below. The two decimal point values for the coef should

Re: [R] inconsistent output using 'round'

2007-04-19 Thread Bert Gunter
Statistics South San Francisco, CA -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Green Sent: Thursday, April 19, 2007 2:05 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] inconsistent output using 'round' Peter, Many thanks. I have