fieldPlot: Plot of fieldShape file filled with trait value for each plot

View source: R/fct_fieldPlot.R

fieldPlotR Documentation

Plot of fieldShape file filled with trait value for each plot

Description

Graphic visualization of trait values for each plot using the fieldShape file and original image.

Usage

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
)

Arguments

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.

Details

fieldPlot

Value

A list with two element

  • The function returns a image with the fieldShape file filled with trait value for each plot.


OpenDroneMap/FIELDimageR documentation built on May 4, 2024, 4:24 a.m.