Exhibit basic data information

Share:

Description

DataInfo: exhibits basic data information

Usage

1
DataInfo(x, datatype = "abundance")

Arguments

x

a vector/matrix/list of species abundances or incidence frequencies.
If datatype = "incidence", then the first entry of the input data must be total number of sampling units, followed by species incidence frequencies.

datatype

data type of input data: individual-based abundance data (datatype = "abundance"), sampling-unit-based incidence frequencies data (datatype = "incidence_freq") or species by sampling-units incidence matrix (datatype = "incidence_raw").

Value

a data.frame of basic data information including sample size, observed species richness, sample coverage estimate, and the first ten abundance/incidence frequency counts.

Examples

1
2
data(spider)
DataInfo(spider, datatype="abundance")