Vegan support procedure

Share:

Description

The procedure converts an RInSp class object into a dataframe to be used as input for the “Vegan” package to calculate nestedness indices.

Usage

1
RInSp2vegan(dataset)

Arguments

dataset

Object of class RInSp with data of type “double”, “integer” or “proportions”.

Value

The result is a binary dataframe with rows and columns names from the input object.

Author(s)

Dr. Nicola ZACCARELLI

See Also

For further indices see the R package “vegan”.

Examples

1
2
3
4
5
data(Stickleback)
# Select a single spatial sampling site (site D)
GutContents = import.RInSp(Stickleback, row.names = 1, info.cols = c(2:13))
risul = RInSp2vegan(GutContents)
rm(list=ls(all=TRUE))