RInSp2vegan {RInSp} | R Documentation |
Vegan support procedure
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
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
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))
[Package RInSp version 1.2.5 Index]