View source: R/fct_fieldInfo.R
fieldInfo | R Documentation |
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
)
mosaic |
object of class stack. |
fieldShape |
plot shape file, please use first the function |
fun |
to summarize the values (e.g. mean). |
plot |
if is TRUE the original and crop image will be plotted. |
buffer |
negative values should be used to remove boundaries from neighbor plot (normally the unit is meters, please use values as 0.1 = 10 cm). |
n.core |
number of cores to use for multicore processing (Parallel). |
projection |
if is FALSE projection will be ignored. |
fieldInfo
A list with a data frame with values by plot and experimental field image with format stack.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.