Learn R Programming

mads (version 0.1.6)

check.species.code.definitions: Checks the list of species code definitions supplied by the user

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

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

See Also

execute.multi.analysis