Learn R Programming

rdiversity (version 1.0)

metacommunity-class: metacommunity-class

Description

Container for class metacommunity.

Usage

is.metacommunity(x)

# S4 method for metacommunity show(object)

Arguments

x

any R object

object

object of class metacommunity

Value

returns TRUE if its argument is a metacommunity, FALSE otherwise.

Fields

type_abundance

two-dimensional matrix of mode numeric with rows as types, columns as subcommunities, and elements containing relative abundances of types in subcommunities. (in the phylogenetic case, this corresponds to the proportional abundance of historic species, which is calculated from the proportional abundance of present day species)

similarity

two-dimensional matrix of mode numeric; contains pairwise similarity between types

ordinariness

two-dimensional matrix of mode numeric; contains ordinariness of types

subcommunity_weights

vector of mode numeric; contains subcommunity weights

type_weights

two-dimensional matrix of mode numeric; contains weight of types within a subcommunity

raw_abundance

two-dimensional matrix of mode numeric; contains proportional abundance of samples (usually types, except in the phylogenetic case where samples correspond to the present day species)

raw_structure

two-dimensional matrix of mode numeric; contains length of historic species (in phylogeny)

parameters

tibble containing parameters associated with each historic species (in phylogeny)