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

Description Usage Arguments Details Value References Examples

View source: R/fieldPlot.R

Description

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

Usage

1
  fieldPlot(fieldShape,fieldAttribute, mosaic=NULL, color=c("white","black"), alpha = 0.5, legend.position="right", na.color="gray", classes=5, round=3)

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().

color

colors to interpolate, must be a valid argument.

mosaic

object of class stack that is not necessary, but if provided will be plotted with the fieldShape file.

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.

Details

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

Value

Graphic visualization of extracted values.

References

Matias et al. (2019) FIELDimageR: A R Package to Analyze Orthomosaic Images from Agricultural Field Trials. (submitted)

Examples

1
  ##see Vignette at https://github.com/filipematias23/FIELDimageR

angel30mpa/ampa documentation built on Feb. 22, 2020, 12:17 a.m.