Checks the list of species code deifinitions supplied by the user

Share:

Description

Firstly, it checks that there are not multiple definitions for the same species code. Secondly, it checks that the names of the ddf models correspond to the names in the species code definitions. Lastly, it checks that definitions are provided for all species codes and if not it adds the missing definitions assuming they correspond to identified categories

Usage

1
check.species.code.definitions(species.code.definitions, species.name)

Arguments

species.code.definitions

a list with an element for each unidentified code which contains a vector of corresponding identified species codes or NULL if not required

species.name

a vector of species names for which model names were supplied in the ddf.models list passed to execute.multi.analysis by the user.

Value

updated species.code.definitions list

Note

Internal function not intended to be called by user.

Author(s)

Laura Marshall

See Also

execute.multi.analysis

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.