convert_fa2sf: Converts different formats to represent multiple sample data

Description Usage Arguments Value References

View source: R/utils.R

Description

Converts the full abundance matrix into species frequencies If S is the number of species and M is the number of samples, then fa is the full abundance matrix of dimension S by M. The for example fa = [0 1 0;3 2 1;0 1 0] leads to sf = [0 1 0 2;3 2 1 1];

Usage

1

Arguments

fa

the full abundance matrix with species in rows and samples in columns

Value

the sample frequency matrix

References

Haegeman, B. & R.S. Etienne (2017). A general sampling formula for community structure data. Methods in Ecology & Evolution. In press.


SADISA documentation built on Oct. 30, 2019, 10:25 a.m.