Graphic visualization of trait values for each plot using the fieldShape
file and original image.
fieldPlot(
fieldShape,
fieldAttribute,
mosaic = NULL,
color = c("white", "black"),
min.lim = NULL,
max.lim = NULL,
alpha = 0.5,
legend.position = "right",
na.color = "gray",
classes = 5,
round = 3,
horiz = FALSE
)
plot shape file, please use first the function getInfo().
attribute or trait which the values will fill the plots, please use first the function getInfo().
object of class stack that is not necessary, but if provided will be plotted with the fieldShape file.
colors to interpolate, must be a valid argument.
lowest limit of the color range. If is NULL the lowest value of the data will be used.
upper limit of the color range. If is NULL the highest value of the data will be used.
transparency with values between 0 and 1.
legend position.
color of missing values "NA".
number of classes at the legend.
number of decimal digits at the legend.
if TRUE will plot a horizontal legend.
A list with two element
The function returns a image with the fieldShape
file filled with trait value for each plot.
fieldPlot