subcom: Subsample of several community vectors A wrapper of...

View source: R/SampleFuns.R

subcomR Documentation

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

Description

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

Usage

subcom(ab, size)

Arguments

ab

A numeric vector of species abundances or relative abundances.

size

Number of individuals to sample, a scalar.


mikeroswell/MeanRarity documentation built on May 5, 2024, 4:50 p.m.