[R] increasing significant digits in smooth.spline function

David Winsemius dwinsemius at comcast.net
Wed Aug 26 17:29:14 CEST 2009


On Aug 26, 2009, at 9:26 AM, Sergii, Ivakhno wrote:

> Hello All
>
> I have a very long vector of unique predictor values and 6 significant
> digits setting for the smooth.spline rounds them off. Is there any way
> of increasing the significant digits withour recompiling a lot if code
> (simple editing and tham sourcing of "smooth.spline.r" function does  
> not
> work, probably due to presence of Fortan functional calls)?

?options

options("digits"=12)

What you see on the screen is not necessarily what is happening  
"inside". There is no rounding unless you force such.

-- 

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list