Re: [R] allequal diff

2024-08-18 Thread Bert Gunter
Ah...I see. Perhaps, then, the maintainer should be contacted, as the desired functionality seems similar to that provided in other all.equal methods. I realize that this may often not elicit a (prompt) response. -- Bert On Sun, Aug 18, 2024 at 11:50 AM Ben Bolker wrote: > > The OP's origi

Re: [R] Is there some place where I can check a changelog / NEWS for the grid package?

2024-08-18 Thread Paul Murrell
Hi On 17/08/2024 12:05 am, Uwe Ligges wrote: On 16.08.2024 13:46, Iago Giné Vázquez wrote: Hi all, On one hand, I wanted to ask if there is some place where I can check a changelog / NEWS for the grid package, as it is not on CRAN. And in that case, where can I find it? Grid is part of R

Re: [R] allequal diff

2024-08-18 Thread Bert Gunter
I should have added: There are actually several class systems in R, and the raster package may use one of the others or none. But you should still look for help for functionality first in the Help system. See ?help for details and authoritative information on how to use the Help system. -- Bert

Re: [R] allequal diff

2024-08-18 Thread Ben Bolker
   The OP's original problem is that the all.equal method for raster objects (raster:::all.equal.raster), which is a wrapper around the compareRaster() function, compares a bunch of different properties of rasters (extent, resolution, values, etc.) and only returns a single overall logical (TRU

Re: [R] allequal diff

2024-08-18 Thread Bert Gunter
"Is it true that all.equal just compares y values?" The following may be a bit more than you may have wanted, but I hope it is nevertheless useful. The first place you should go to for questions like this is the Help system, not here, i.e. ?all.equal When you do this, you will find that all.equa

Re: [R] allequal diff

2024-08-18 Thread Ben Bolker
  To do this, I think you'll have to compare the extent (using the extent() function) and/or number of rows and columns and/or resolution of the two rasters. (Print the source code of compareRasters() and dig through it to see what's being compared ...) On 8/18/24 14:00, SIBYLLE STÖCKLI via R-

Re: [R] allequal diff

2024-08-18 Thread SIBYLLE STÖCKLI via R-help
Dear Ivan Thanks a lot for this very nice example. Is it true that all.equal just compares y values? Based on this help here I think so and the value I got is the difference for the y-values. https://www.statology.org/all-equal-function-r/ However, here I see x and y testing? https://www.rdocu