DataInfo: Exhibit basic data information

Description Usage Arguments Value Examples

View source: R/EstIndex.R

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")

Example output

     site   n S.obs     SC f1 f2 f3 f4 f5 f6 f7 f8 f9 f10
1 Girdled 168    26 0.9289 12  4  0  1  0  2  0  1  1   0
2  Logged 252    37 0.9446 14  4  4  3  1  0  3  2  0   1

iNEXT documentation built on Sept. 21, 2018, 6:14 p.m.