Learn R Programming

tabula (version 3.1.1)

observed: Number of Observed Species

Description

Number of Observed Species

Usage

observed(x, ...)

singleton(x, ...)

doubleton(x, ...)

# S4 method for numeric observed(x, na.rm = FALSE, ...)

# S4 method for numeric singleton(x, na.rm = FALSE, ...)

# S4 method for numeric doubleton(x, na.rm = FALSE, ...)

Value

A numeric vector.

Arguments

x

A numeric vector of count data (absolute frequencies).

...

Currently not used.

na.rm

A numeric scalar: should missing values (including NaN) be removed?

See Also

Other alpha diversity measures: index_ace(), index_baxter(), index_berger(), index_boone(), index_brillouin(), index_chao1(), index_chao2(), index_hurlbert(), index_ice(), index_margalef(), index_mcintosh(), index_menhinick(), index_shannon(), index_simpson(), index_squares()