Given a numeric matri representign an abundance table, it calculates the total richness (ie species number) in it.

total_richness(Tab)

Arguments

Tab

A numeric matrix with columns as samples and rows as taxa.

Value

A number representing the total richness.

See also