rarefyCounts: Generate rarefied counts from a vector of counts

View source: R/abundance.R

rarefyCountsR Documentation

Generate rarefied counts from a vector of counts

Description

Generate rarefied counts from a vector of counts

Usage

rarefyCounts(counts, n)

Arguments

counts

a vector of counts

n

rarefy down to n counts

Value

a vector of the same length as counts with rarefied counts summing to n

See Also

link{rarefy}, link{rareEquation}

Examples

rarefyCounts(1:10,10)

sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.