Function that use raster::extract()
to extract information from the original
image using fieldShape file as reference.
fieldInfo(
mosaic,
fieldShape,
fun = "mean",
plot = FALSE,
buffer = NULL,
n.core = NULL,
projection = TRUE
)
object of class stack.
plot shape file, please use first the function fieldShape
.
to summarize the values (e.g. mean).
if is TRUE the original and crop image will be plotted.
negative values should be used to remove boundaries from neighbor plot (normally the unit is meters, please use values as 0.1 = 10 cm).
number of cores to use for multicore processing (Parallel).
if is FALSE projection will be ignored.
A list with a data frame with values by plot and experimental field image with format stack.
fieldInfo