Package index
Generate permutations
High-level functions for drawing one or more restricted permutations, or applying them directly to a vector.
-
shuffle()permute()permutator() - Unrestricted and restricted permutations
-
shuffleSet()as.matrix(<permutationMatrix>) - Generate a set of permutations from the specified design
-
permutations()print(<permutations>)as.matrix(<permutations>) - Permute a vector of data
Define and inspect permutation designs
Create permutation designs, count the possible permutations, and check designs for problems.
-
how()Within()Plots() - How to define a permutation design?
-
numPerms() - Number of possible permutations for a given object
-
check()summary(<check>) - Utility functions for permutation schemes
Complete enumeration and fixed-size partitions
Enumerate complete permutation sets or generate assignments to groups of fixed size.
-
allPerms()summary(<allPerms>)as.matrix(<allPerms>)as.allPerms() - Complete enumeration of all possible permutations
-
allPartitions()shufflePartition()shufflePartitionSet() - Generate random assignments to groups of fixed size
Developer tools
Supporting APIs for package authors and advanced users working with permutation designs.
-
getAllperms()getBlocks()getComplete()getConstant()getCol()getDim()getMake()getMaxperm()getMinperm()getMirror()getSymmetric()getNperm()getObserved()getPlots()getRow()getStrata()getType()getWithin()getControl()getHow() - Extractor functions to access components of a permutation design
-
`setBlocks<-`()`setPlots<-`()`setWithin<-`()`setStrata<-`()`setNperm<-`()`setAllperms<-`()`setMaxperm<-`()`setMinperm<-`()`setComplete<-`()`setMake<-`()`setObserved<-`()`setRow<-`()`setCol<-`()`setDim<-`()`setType<-`()`setMirror<-`()`setSymmetric<-`()`setConstant<-`() - Replacement functions to set components of a permutation design
-
shuffleFree()shuffleSeries()shuffleGrid()shuffleStrata() - Utility functions for unrestricted and restricted permutations
-
allFree()allSeries()allGrid()allStrata() - Utility functions for complete enumeration of all possible permutations
-
nobs(<numeric>)nobs(<integer>)nobs(<matrix>)nobs(<data.frame>)nobs(<character>)nobs(<factor>) - Number of observations in a given object
-
jackal - Mandible lengths of male and female golden jackals