Re: [R] The effect of tolerance in all.equal()

2017-04-30 Thread Ashim Kapoor
On Sun, Apr 30, 2017 at 10:05 PM, Duncan Murdoch wrote: > On 30/04/2017 12:26 PM, Ashim Kapoor wrote: > >> Dear All, >> >> This answer is very clear. Many thanks. >> >> I am now confused about how str*ucture works. Where can I read more about >> when does it return language / logical / chr ? I w

Re: [R] The effect of tolerance in all.equal()

2017-04-30 Thread Bert Gunter
... Some R tutorial recommendations can be found here: https://www.rstudio.com/online-learning/#R Hadley W.'s book might also be useful to you: http://adv-r.had.co.nz/ Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into i

Re: [R] The effect of tolerance in all.equal()

2017-04-30 Thread Duncan Murdoch
On 30/04/2017 12:26 PM, Ashim Kapoor wrote: Dear All, This answer is very clear. Many thanks. I am now confused about how str*ucture works. Where can I read more about when does it return language / logical / chr ? I would want to read that so I can interpret the result of structure. I don't t

Re: [R] The effect of tolerance in all.equal()

2017-04-30 Thread Ashim Kapoor
Dear All, This answer is very clear. Many thanks. I am now confused about how str*ucture works. Where can I read more about when does it return language / logical / chr ? I would want to read that so I can interpret the result of structure. I don't think ?str contains this.To me, logical and chr

Re: [R] The effect of tolerance in all.equal()

2017-04-25 Thread Martin Maechler
> Ashim Kapoor > on Tue, 25 Apr 2017 14:02:18 +0530 writes: > Dear all, > I am not able to understand the interplay of absolute vs relative and > tolerance in the use of all.equal > If I want to find out if absolute differences between 2 numbers/vectors are > big

[R] The effect of tolerance in all.equal()

2017-04-25 Thread Ashim Kapoor
Dear all, I am not able to understand the interplay of absolute vs relative and tolerance in the use of all.equal If I want to find out if absolute differences between 2 numbers/vectors are bigger than a given tolerance I would do: all.equal(1,1.1,scale=1,tol= .1) If I want to find out if relat