RInSp2vegan {RInSp} | R Documentation |
The procedure converts an RInSp class object into a dataframe to be used as input for the “Vegan” package to calculate nestedness indices.
RInSp2vegan(dataset)
dataset |
Object of class RInSp with data of type “double”, “integer” or “proportions”. |
The result is a binary dataframe with rows and columns names from the input object.
Dr. Nicola ZACCARELLI
For further indices see the R package “vegan”.
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))