Functions for Generating Restricted Permutations of Data

A set of restricted permutation designs for freely exchangeable, line transects (time series), and spatial grid designs plus permutation of blocks (groups of samples) is provided. 'permute' also allows split-plot designs, in which the whole-plots or split-plots or both can be freely-exchangeable or one of the restricted designs. The 'permute' package is modelled after the permutation schemes of 'Canoco 3.1' (and later) by Cajo ter Braak.


Restricted permutations with R

CRAN version R-CMD-check codecov

What is permute?

permute generates permutations from a range of restricted permutation designs.

Permute provides an R implementation of the permutation schemes developed by Cajo ter Braak and made available in the Canoco software, version 3.1 (ter Braak, 1990). These permutation schemes draw upon ideas from an earlier paper by Besag & Clifford (1989).

Several types of permutation are available in permute:

  • Free permutation of objects
  • Time series or line transect designs, where the temporal or spatial ordering is preserved.
  • Spatial grid designs, where the spatial ordering is preserved in both coordinate directions
  • Permutation of plots or groups of samples.
  • Blocking factors which restrict permutations to within blocks. The preceding designs can be nested within blocks, allowing analysis of hierarchical designs (e.g. split plot designs)

References

Besag, J. and Clifford, P. (1989) Generalized Monte Carlo significance tests. Biometrika 76; 633–642.

ter Braak, C. J. F. (1990). Update notes: CANOCO version 3.1. Wageningen: Agricultural Mathematics Group. (UR).

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("permute")

0.9-10 by Gavin L. Simpson, 8 months ago


https://github.com/gavinsimpson/permute


Report a bug at https://github.com/gavinsimpson/permute/issues


Browse source code at https://github.com/cran/permute


Authors: Gavin L. Simpson [aut, cph, cre] (ORCID: , R Core Team [cph] , Douglas M. Bates [ctb] , Jari Oksanen [ctb]


Documentation:   PDF Manual  


GPL-2 license


Imports stats

Suggests vegan, testthat, parallel, knitr, rmarkdown, bookdown, sessioninfo


Imported by LDM, LOCOM2, MiRKAT, NST, ProcMod, SYNCSA, TestNet, bipartite, brainGraph, codyn, douconca, iCAMP, mixAR, monoClust, npcure, pRF, permuco, randomizationInference, rankdist, readyomics, text2map.

Depended on by RHC, Storm, indicspecies, vegan.

Suggested by BiodiversityR, LorMe, MiscMetabar, ecostats, ggordiplots, ggvegan, pctax.


See at CRAN