check_filters: Check filters

Description Usage Arguments Value Examples

View source: R/mtg_helpers.R

Description

Check the consistency of the filters

Usage

1
check_filters(node = NULL, scale = NULL, symbol = NULL, link = NULL)

Arguments

node

The node

scale

An integer vector of .scale to filter (should match the scales given by the SCALE column from the MTG classes).

symbol

A character vector of .symbol to filter (should match the symbols given by the SYMBOL column from the MTG classes).

link

A character vector of .link to filter

Value

Nothing. Return an error if anything went wrong.

Examples

1
2
3
4
5
6
## Not run: 
filepath= system.file("extdata", "simple_plant.mtg", package = "XploRer")
MTG = read_mtg(filepath)
check_filters(node = extract_node(MTG, "node_5"), scale = 1, symbol = "Individual",link = "/")

## End(Not run)

VEZY/XploRer documentation built on Oct. 9, 2021, 10:05 p.m.