all_codes_allowed {ForestElementsR}R Documentation

Check Species Codes for Compliance with a Given Coding

Description

Check Species Codes for Compliance with a Given Coding

Usage

all_codes_allowed(x, coding)

Arguments

x

Object of one of the fe_species_id classes or a character vector

coding

Name of the coding against which x is to be checked. Must be one of the entries in the column species_coding in the data file species_codings

Value

A list with two elements: 1) rqmt_ok which is TRUE if the requirement is fulfilled and FALSE otherwise; 2) err_message, the body of an error message to be used by the calling function (mentions all problematic elements of x)


[Package ForestElementsR version 2.1.0 Index]