mc.calc: Multicore implementation of the raster::calc
function.
Description
Allows functions to be applied to raster objects, with multicore support.
Usage
mc.calc(x, fun, mc.cores = 1, ...)
Arguments
fun
Function to be applied to the raster object.
...
Arguments to be passed to link{writeRaster}
.
Details
For further help, see calc
. Warnings of the parallel package (see mclapply
for instance) apply to this function.