
V = 23 45 12 9 5 0 19 17% horizontal vector sort(v)% sorting v m = 2 6 4 5 3 9 2 0 1% two dimensional array sort(m, 1)% sorting m along the row sort(m, 2)% sorting m along the column When you run the file, it displays the following result −. The 'permute' package is modelled after the permutation schemes.

'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. 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. Several types of permutation are available in permute: Free permutation of objects. These permutation schemes draw upon ideas from an earlier paper by Besag & Clifford (1989).


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).
