Learn R Programming

mads (version 0.1.6)

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

Description

Performs a number of checks to ensure the list has been defined correctly. If no list was specified one is created assuming all species are present in all strata.

Usage

check.species.presence(species.presence, species.name, strata.name)

Arguments

species.presence

a list with an element for each strata which contains a vector of corresponding species codes for those species which occur in that strata or NULL if it is to be data driven.

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.

strata.name

character vector of strata names

Value

updated species.presence list

See Also

execute.multi.analysis