Skip to contents

Number of Observed Species

Usage

observed(x, ...)

singleton(x, ...)

doubleton(x, ...)

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

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

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

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?

Value

A numeric vector.