sampleMat: Individual-based resampling/rarefaction of a community matrix

Description Usage Arguments Value

View source: R/Rarefaction_funs.R

Description

Individual-based resampling/rarefaction of a community matrix

Usage

1
sampleMat(x, n.target, debug = FALSE)

Arguments

x

a species abundance matrix to rarefy (rows=sites, columns=species)

n.target

rarefied size for each sample

debug

(logical) debugging flag

Value

a matrix of the same structure as the original


bbolker/betararef documentation built on Sept. 17, 2021, 8:49 a.m.