DataInfo.link: Exhibit basic data information

Description Usage Arguments Examples

View source: R/iNEXTlink.R View source: R/backup/iNEXTlink.R

Description

DataInfo.link: exhibits basic data information

Usage

1
2
3
4
5
6
7
DataInfo.link(
  data,
  diversity = "TD",
  datatype = "abundance",
  row.tree = NULL,
  col.tree = NULL
)

Arguments

data

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.

diversity

a choice of three-level diversity: 'TD' = 'Taxonomic', 'PD' = 'Phylogenetic', and 'FD' = 'Functional' under certain threshold.

datatype

data type of input data: individual-based abundance data (datatype = "abundance") or species by sampling-units incidence matrix (datatype = "incidence_raw").#' @return 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
3
4
5
6
7
## Not run: 
data(puerto.rico)
DataInfo.link(puerto.rico$data, diversity = 'TD', datatype="abundance")
DataInfo.link(puerto.rico$data, diversity = 'PD', datatype="abundance",
row.tree = puerto.rico$row.tree, col.tree = puerto.rico$col.tree)

## End(Not run)

Chunger-Lo/iNEXT.link documentation built on Dec. 17, 2021, 2:05 p.m.