X.to.f {RSE} | R Documentation |
This function is to convert a vector of species abundance data to a vector of species frequency counts data.
X.to.f(X)
X |
A vector of species abundance data. |
Species frequency counts is returned.
Youhua Chen & Tsung-Jen Shen
## 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)