DataInfo: Exhibit basic data information

View source: R/EstIndex.R

DataInfoR Documentation

Exhibit basic data information

Description

DataInfo: exhibits basic data information

Usage

DataInfo(x, datatype = "abundance")

Arguments

x

a vector/matrix/data.frame/list of species abundances or incidence frequencies.
If datatype = "incidence_freq", 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

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

JohnsonHsieh/iNEXT documentation built on March 26, 2024, 5:19 a.m.