X.to.f {RSE} | R Documentation |
Data transformation: from species abundance data to species frequency counts data
Description
This function is to convert a vector of species abundance data to a vector of species frequency counts data.
Usage
X.to.f(X)
Arguments
X |
A vector of species abundance data. |
Value
Species frequency counts is returned.
Author(s)
Youhua Chen & Tsung-Jen Shen
See Also
Examples
## As an example, Herpetological assemblage data are used here.
data(HerpetologicalData)
## two columns represent two samples of species abundance data
X.merge = HerpetologicalData
## the first column is treated as the original sample
X.col1 = X.merge[,1]
Xi = X.col1
## convert species abundance data to species frequency counts data
X.to.f(Xi)
[Package RSE version 1.3 Index]