Subsample of several community vectors A wrapper of sample_finite to take a subset of a bunch of communities, each subset of equal abundance.

subcom(ab, size)

Arguments

ab

A numeric vector of species abundances or relative abundances.

size

Number of individuals to sample, a scalar.