-help-boun...@r-
project.org] On Behalf Of Prof Brian Ripley
Sent: Monday, March 02, 2009 12:38 AM
To: tedzzx
Cc: r-help@r-project.org
Subject: Re: [R] rounding problem
I nominate the following for the fortunes package:
R is Open Source and so you can modify it to emulate the bugs in
other
> Sent: Monday, March 02, 2009 12:38 AM
> > To: tedzzx
> > Cc: r-help@r-project.org
> > Subject: Re: [R] rounding problem
> >
>
> I nominate the following for the fortunes package:
>
> > R is Open Source and so you can modify it to emulate the bugs in
&g
Prof Brian Ripley wrote:
> I think your subject line should read 'Excel bug'. From the R help
> for round()
>
> Note that for rounding off a 5, the IEC 60559 standard is expected
> to be used, '_go to the even digit_'.
>
> In case you did not recognize it, IEC 60559 is an international
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Prof Brian Ripley
> Sent: Monday, March 02, 2009 12:38 AM
> To: tedzzx
> Cc: r-help@r-project.org
> Subject: Re: [R] rounding problem
>
I nomina
Prof Brian Ripley wrote:
> I think your subject line should read 'Excel bug'. From the R help
> for round()
>
> Note that for rounding off a 5, the IEC 60559 standard is expected
> to be used, '_go to the even digit_'.
>
> In case you did not recognize it, IEC 60559 is an international
>
On Sun, 2009-03-01 at 17:51 -0800, tedzzx wrote:
> Yes, round(1.5)=2. but round(2.5)=2. I want round(2.5)=3 just like the what
> the excel do. Can we change the setting or do some trick so that the
> computer will work like what we usually do with respect to rounding.
> My system is R 2.8.1, winX
I think your subject line should read 'Excel bug'. From the R help
for round()
Note that for rounding off a 5, the IEC 60559 standard is expected
to be used, '_go to the even digit_'.
In case you did not recognize it, IEC 60559 is an international
standard: Excel is not.
R is Open
Yes, round(1.5)=2. but round(2.5)=2. I want round(2.5)=3 just like the what
the excel do. Can we change the setting or do some trick so that the
computer will work like what we usually do with respect to rounding.
My system is R 2.8.1, winXP, Intel core 2 dual . Thanks.
Daniel Nordlund-2 wrot
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of tedzzx
> Sent: Saturday, February 28, 2009 4:58 AM
> To: r-help@r-project.org
> Subject: [R] rounding problem
>
>
> Hi all,
>
> According to the help page on round(), round(1.5
it the on-line help file of ?round, you can also find the functions:
ceiling()
floor()
trunc()
I hope it helps.
Best,
Dimitris
tedzzx wrote:
Hi all,
According to the help page on round(), round(1.5) could be either 1 or 2.
But I want to the answere to be 2 for sure just what we usually do.
all.equal is what i need, many thanks to help me
baptiste auguie-2 wrote:
>
> Hi,
>
> you probably want to use ?all.equal instead of "=="
>
> I couldn't run your example, though
>
> Hope this helps,
>
> baptiste
>
> On 27 Feb 2009, at 10:32, Peterko wrote:
>
>>
>> hi i am creating some var
Hi,
you probably want to use ?all.equal instead of "=="
I couldn't run your example, though
Hope this helps,
baptiste
On 27 Feb 2009, at 10:32, Peterko wrote:
hi i am creating some variables from same data, but somewhere is
different
rouding.
look:
P = abs(fft(d.zlato)/480)^2
hladane= s
12 matches
Mail list logo