Count2Abun: Frequency counts data transform into abundance data

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Count2Abun.R

Description

Transfer frequency counts data into abundance data.

Usage

1
Count2Abun(count.data)

Arguments

count.data

input species frequency counts data: a numerical matrix or a data frame of two columns. The first column is the frequency j=1, 2...; and the second column is frequency counts (fj).

Example: there are 59 singletons, 9 doubletons and so on in Insects_data:

[1,] 1 59
[2,] 2 9
[3,] 3 3
[4,] 4 2
[5,] 5 2
[6,] 6 2
[7,] 11 1

Value

a numeric vector of species abundance data.

Author(s)

Y.T. Wang ; Y.H. Lee ; K.S. Tseng ; Anne Chao
Maintainer : Anne Chao [email protected]

See Also

ChaoEntropy

Examples

1
2
3
4
5
6
7
# load the frequency counts data
data(Insects_data)

# Transform the data format
Count2Abun(Insects_data)
ChaoEntropy(data=Count2Abun(Insects_data), datatype="abundance", method="all",
            se=TRUE, nboot=200, conf=0.95)

JohnsonHsieh/ChaoEntropy documentation built on May 9, 2017, 2:06 a.m.