Loop functions that can be applied on a cell by cell basis.

loop_stats(cell_ids, type = "raster", ...)

Arguments

cell_ids

A vector of cell IDs on which to apply a function to

type

Either "raster" or "graph". Specifies the types of neighborhoods (image or graph) on which to compute statistics.

...

Additional arguments to the cell_fun.