balanced.specaccum | R Documentation |

Provides species accumulation results calculated from balanced (equal subsample sizes) subsampling from each stratum. Sites can be accumulated in a randomized way, or alternatively sites belonging to the same stratum can be kept together Results are in the same format as `specaccum`

and can be plotted with `plot.specaccum`

(vegan).

balanced.specaccum(comm, permutations=100, strata=strata, grouped=TRUE, reps=0, scale=NULL)

`comm` |
Community data frame with sites as rows, species as columns and species abundance as cell values. |

`permutations` |
Number of permutations to calculate the species accumulation curve. |

`strata` |
Categorical variable used to specify strata. |

`grouped` |
Should sites from the same stratum be kept together (TRUE) or not. |

`reps` |
Number of subsamples to be taken from each stratum (see details). |

`scale` |
Quantitative variable used to scale the sampling effort (see details). |

This function provides an alternative method of obtaining species accumulation results as provided by `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.

The functions provide alternative methods of obtaining species accumulation curve results, although results are similar as obtained by functions `specaccum`

and `accumresult`

.

Roeland Kindt (World Agroforestry Centre)

Kindt, R., Kalinganire, A., Larwanou, M., Belem, M., Dakouo, J.M., Bayala, J. & Kaire, M. (2008) Species accumulation within landuse and tree diameter categories in Burkina Faso, Mali, Niger and Senegal. Biodiversity and Conservation. 17: 1883-1905.

Kindt, R. & Coe, R. (2005) Tree diversity analysis: A manual and software for common statistical methods for ecological and biodiversity studies.

https://www.worldagroforestry.org/output/tree-diversity-analysis

library(vegan) data(dune.env) data(dune) # not balancing species accumulation Accum.orig <- specaccum(dune) Accum.orig # randomly sample 3 quadrats from each stratum of Management Accum.1 <- balanced.specaccum(dune, strata=dune.env$Management, reps=3) Accum.1 # scale results by number of trees per quadrat 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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.