santiseLayersForPlotting: Sanitise input layers for plotting

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

santiseLayersForPlottingR Documentation

Sanitise input layers for plotting

Description

This is an internal helper function which checks the layers requested to be plotted against the layers in the the fields to be plotted. If layers is NULL, then it returns all layers present in any fields

Usage

santiseLayersForPlotting(fields, layers)

Arguments

fields

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

layers

The layers requested to be plotted

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.