agroMapVector: agroMapVector The function agroMapVector visualises data on...

View source: R/createPlotFromDBQuery.R

agroMapVectorR Documentation

agroMapVector The function agroMapVector visualises data on the grid of the Carpatclim reanalysis dataset with customised colorscale by using function trimColorSet.

Description

agroMapVector The function agroMapVector visualises data on the grid of the Carpatclim reanalysis dataset with customised colorscale by using function trimColorSet.

Usage

agroMapVector(
  data,
  errorVector,
  nticks = NULL,
  binwidth = NULL,
  minimum = NULL,
  maximum = NULL,
  roundPrecision = NULL,
  reverseColorScale = FALSE,
  colorSet = "RdYlGn",
  center = NULL,
  plotTitle = NULL,
  imageTitle = NULL,
  lonlat = FALSE,
  countrycont = TRUE,
  categorical,
  maskCol
)

Arguments

data

Numeric vector that contains data which will be plotted by agroMapVector function

nticks

Number of colors in the colorscale (default setting is 6)

roundPrecision

Number of decimal places to round off values on the colorbar

reverseColorScale

If it is TRUE, the colorscale is reversed (default setting is FALSE)

center

A number around which diverging colorscales will be centralised

plotTitle

Main title can added to the plot

imageTitle

File name of the plot, if NULL no graphics will be created.

lonlat

Geographical latitudes and longitudes per 1° can be addded to the plot

colorset

Name of the colorscale which is available in the list numBaseColors

minim

Minium value of the visualised dataset

maxim

Maximum value of the visualised dataset

Author(s)

Erzsebet Kristof, Roland Hollos


hollorol/AgroMo documentation built on July 21, 2023, 8:51 p.m.