View source: R/fct_fieldPlot.R
fieldPlot | R Documentation |
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
)
fieldShape |
plot shape file, please use first the function getInfo(). |
fieldAttribute |
attribute or trait which the values will fill the plots, please use first the function getInfo(). |
mosaic |
object of class stack that is not necessary, but if provided will be plotted with the fieldShape file. |
color |
colors to interpolate, must be a valid argument. |
min.lim |
lowest limit of the color range. If is NULL the lowest value of the data will be used. |
max.lim |
upper limit of the color range. If is NULL the highest value of the data will be used. |
alpha |
transparency with values between 0 and 1. |
legend.position |
legend position. |
na.color |
color of missing values "NA". |
classes |
number of classes at the legend. |
round |
number of decimal digits at the legend. |
horiz |
if TRUE will plot a horizontal legend. |
fieldPlot
A list with two element
The function returns a image with the fieldShape
file filled with trait value for each plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.