
specaccum
and can be plotted with plot.specaccum
(balanced.specaccum(comm, permutations=100, strata=strata, grouped=TRUE,
reps=0, scale=NULL)
specaccum
and accumresult
.specaccum
and accumresult
.
Balanced sampling is achieved by randomly selecting the same number of sites from each stratum. The number of sites selected from each stratum is determined by reps
. Sites are selected from strata with sample sizes larger or equal than reps
. In case that reps
is smaller than 1 (default: 0), then the number of sites selected from each stratum is equal to the smallest sample size of all strata. Sites from the same stratum can be kept together (grouped=TRUE) or the order of sites can be randomized (grouped=FALSE).
The results can be scaled by the average accumulation of a quantitative variable (default is number of sites), as in accumresult
(hint: add the abundance of each site to the environmental data frame to scale accumulation results by mean abundance). When sites are not selected from all strata, then the average is calculated only for the strata that provided sites.library(vegan)
data(dune.env)
data(dune)
Accum.1 <- balanced.specaccum(dune, strata=dune.env$Management, reps=3)
Accum.1
dune.env$site.totals <- apply(dune,1,sum)
Accum.2 <- balanced.specaccum(dune, strata=dune.env$Management, reps=3, scale=dune.env$site.totals)
Accum.2
Run the code above in your browser using DataLab