Learn R Programming

mads (version 0.1.6)

prorate.unidentified: Prorate the estimated abundances of the unidentified sightings to the other identified species categories.

Description

The prorating is done individually for each strata. It will prorate the unidentified abundance between the species as defined in the species.code.definitions except where specified that a given species is not present in that strata as defined in the species.presence argument.

Usage

prorate.unidentified(
  dht.results,
  species.code.definitions,
  species.presence,
  clusters
)

Arguments

dht.results

a list of objects of class dht

species.code.definitions

a list of character vectors detailing the species codes associated with the unidentified code given as the element name.

species.presence

a list of character vectors defining the species present in each strata.

clusters

boolean whether observations are clusters of individuals of identified species codes corresponding to which species are present in each strata.

Value

a list of pro-rated results with an element for each species