I have two different dataset, I need to compute a split using these different objects, per grid cell in a raster in the R. One of the datasets contains the cells of my grid, the other contains the numerator of the equation.
How could the command be made?