Learn R Programming

RSE (version 1.3)

f.to.X: Data transformation: from species frequency counts to species abundance data

Description

This function is to convert species frequency counts data to species abundance data.

Usage

f.to.X(f)

Arguments

f

Species frequency counts data.

Value

Species abundance data is returned.

See Also

X.to.f

Examples

Run this code
# NOT RUN {
## The sample is composed of 5 singletons, two doubletons, and one tripleton species.	
f = c(5, 2, 1)
f.to.X(f)
# }

Run the code above in your browser using DataLab