Sergii, Ivakhno
2009-Aug-26 13:26 UTC
[R] increasing significant digits in smooth.spline function
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)? Thank you very much in advance Sergii R version 2.9.1 (2009-06-26) x86_64-redhat-linux-gnu locale: LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.U TF-8;LC_MONETARY=C;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAMEC;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATI ON=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.9.1 [[alternative HTML version deleted]]
David Winsemius
2009-Aug-26 15:29 UTC
[R] increasing significant digits in smooth.spline function
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
Seemingly Similar Threads
- question about multinom function (nnet)
- lm and aov produce different results for nested fixed-factor anova
- how to take least risk on rsync dir
- repost: problems with lm for nested fixed-factor Anova (ANOVA I)
- randomForest() segfaults under Solaris(SPARC) 2.7