Learn R Programming

entropart (version 1.1.3)

Preprocess.MC: Preprocessing of metacommunity data

Description

Calculates summary statistics of a metacommunity

Usage

Preprocess.MC(Nsi, Wi)

Arguments

Nsi
A matrix containing abundance data, species in line, communities in column.
Wi
Normalized community weights (sum to 1).

Value

  • An object of class MetaCommunity. It is a list:
  • NsiA matrix containing abundance data, species in line, communities in column
  • NspeciesThe number of species
  • NcommunitiesThe number of communities
  • WiNormalized community weights (sum to 1)
  • NThe total number of individuals
  • NiA vector containing the number of individuals of each community
  • NsA vector containing the number of individuals of each species
  • PsiA matrix whose columns are the probability vectors of communities (each of them sums to 1)
  • PsA vector containing the probability vector of the metacommunity
  • SampleCoverageThe sample coverage of the metacommunity
  • SampleCoverage.communitiesA vector containing the sample coverages of each community

Details

This is an internal function. It is used by MetaCommunity for real data and DivEst for simulations.