Need to create an index of all cells with the changed cells in their neighborhood (e.g., which.X(sdd.pr[,,2,X] %in% lc.new$id) where it identifies the X's). Currently, it just loops through the cells that changed, which doesn't actually matter since the seeds are being dispersed from there, not to there.
Need to create an index of all cells with the changed cells in their neighborhood (e.g.,
which.X(sdd.pr[,,2,X] %in% lc.new$id)
where it identifies the X's). Currently, it just loops through the cells that changed, which doesn't actually matter since the seeds are being dispersed from there, not to there.