On 16/12/2009 12:39 AM, Xiang Wu wrote:
Is there a function in R that could find the significant digit of a specific number? Such as for 3.1415, return '5'?
The question may not have an unambiguous answer: I would say 1.00 and 1.00000 have a different number of significant digits, but once converted to numbers they are identical in R.
Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.