Learn R Programming

mads (version 0.1.6)

create.result.arrays: Creates a list of arrays for storing the dht results

Description

Creates a list of arrays. These are used to store the summary, abundance and density outputs of the dht routine called from mrds.

Usage

create.result.arrays(
  species.name,
  species.code.definitions,
  region.table,
  clusters,
  n
)

Arguments

species.name

a list of all the species in the analysis

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

region.table

dataframe of region records - Region.Label and Area

clusters

boolean, TRUE if observations are of cluster, FALSE if observations are of individuals.

n

the number of bootstrap iterations to be completed.

Value

list of arrays