spp_rich: Calcula riqueza

View source: R/2-spp_rich.R

spp_richR Documentation

Calcula riqueza

Description

Essa função calcula a riqueza em um vetor de abundância/presença de espécies de uma comunidade.

Usage

spp_rich(x, na.rm = FALSE)

Arguments

x

A numeric vector of species abundances/presences in the community

na.rm

logical. Should missing values (including NaN) be removed?

Value

numeric

Examples

mata <- c(3, 7, 10, 2, 0, 1)
spp_rich(mata)


sallesmath/pacoteTeste documentation built on June 12, 2022, 1:53 a.m.