Learn R Programming

bfastSpatial (version 0.6.2)

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

x

Raster* object

fun

Function to be applied to the raster object.

...

Arguments to be passed to link{writeRaster}.

Value

a Raster* object

Details

For further help, see calc. Warnings of the parallel package (see mclapply for instance) apply to this function.

See Also

calc