options(digits=10)
b
or just
print(b, 10)
On 01/02/2008, Monica Pisica [EMAIL PROTECTED] wrote:
Hi list,
It seems that as.numeric is rounding up my numbers that are in a character
format.
Example:
a
[1] 776554.45 776985.31 776076.03 776092.01 776151.42 776276.97
b -
So this is only a cosmetic printing and actually my numbers do have 2
decimal numbers .
Thanks,
Monica Date: Fri, 1 Feb 2008 16:27:00 -0200 From: [EMAIL PROTECTED] To:
[EMAIL PROTECTED] Subject: Re: [R] as.numeric rounds up CC:
r-help@r-project.org options(digits=10) b or just
2 matches
Mail list logo