checkDimensionValues: Check values of a particular dimension

View source: R/plotting-framework-functions.R

checkDimensionValuesR Documentation

Check values of a particular dimension

Description

This is an internal helper function which either stops if a dimension is requested to be plotted but is not present dimension, it gives a warning

Usage

checkDimensionValues(fields, input.values = NULL, dimension)

Arguments

fields

The list of Fields to be plotted (should have been check by santiseFieldsForPlotting first)

input.values

A list of the values that have been requested to be plotted

dimension

A character string specifying which dimension is to be checked (one of "Lon", "Lat", "Year", "Month", "Day" or "Season")

Value

Returns character vector of the layers to be plotted

Author(s)

Matthew Forrest matthew.forrest@senckenberg.de


MagicForrest/DGVMTools documentation built on Aug. 23, 2024, 8:05 a.m.