Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use vegan package of R language to calculate species accumulation curve

Shulou Source: shulou.com Published: 2022-06-01 04:39:15 09月22日 Update

This article mainly explains "how to use the vegan package of R language to calculate the species accumulation curve", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use the vegan package of R language to calculate the species accumulation curve.

Calculation of species accumulation curve with R language vegan package

Vegan package is the most commonly used R packet for community data analysis, in which the specaccum function is used to calculate the cumulative curve of species.

Input data, otutable: columns represent different species, rows represent different sampling points, and the numbers in the middle represent species abundance:

Sample code: require (vegan) otu

Tags: Species curve number language sample different content data end trend learning sampling practical gentle deeper continuous abundance code representative interest Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia macOS Xiaomi Shulou Information Huawei