These functions provide abstracted access to components of permutation
designs such as those returned by how(). Using them instead of directly
indexing the underlying list allows that representation to evolve without
breaking user code.
getAllperms(object, ...)getBlocks(object, ...)
getComplete(object, ...)
getConstant(object, ...)
getCol(object, ...)
getDim(object, ...)
getMake(object, ...)
getMaxperm(object, ...)
getMinperm(object, ...)
getMirror(object, ...)
getSymmetric(object, ...)
getNperm(object, ...)
getObserved(object, ...)
getPlots(object, ...)
getRow(object, ...)
getStrata(object, ...)
getType(object, ...)
getWithin(object, ...)
getControl(object, ...)
getHow(object, ...)
# S3 method for how
getAllperms(object, ...)
# S3 method for how
getBlocks(object, ...)
# S3 method for how
getCol(object, which = c("plots", "within"), ...)
# S3 method for Plots
getCol(object, ...)
# S3 method for Within
getCol(object, ...)
# S3 method for how
getComplete(object, ...)
# S3 method for how
getConstant(object, ...)
# S3 method for Within
getConstant(object, ...)
# S3 method for how
getDim(object, which = c("plots", "within"), ...)
# S3 method for Plots
getDim(object, ...)
# S3 method for Within
getDim(object, ...)
# S3 method for how
getMake(object, ...)
# S3 method for how
getMaxperm(object, ...)
# S3 method for how
getMinperm(object, ...)
# S3 method for how
getMirror(object, which = c("plots", "within"), ...)
# S3 method for Plots
getMirror(object, ...)
# S3 method for Within
getMirror(object, ...)
# S3 method for how
getSymmetric(object, which = c("plots", "within"), ...)
# S3 method for how
getNperm(object, ...)
# S3 method for Plots
getSymmetric(object, ...)
# S3 method for how
getObserved(object, ...)
# S3 method for how
getPlots(object, ...)
# S3 method for Within
getSymmetric(object, ...)
# S3 method for how
getRow(object, which = c("plots", "within"), ...)
# S3 method for Plots
getRow(object, ...)
# S3 method for Within
getRow(object, ...)
# S3 method for how
getStrata(object, which = c("plots", "blocks"), drop = TRUE, ...)
# S3 method for Plots
getStrata(object, drop = TRUE, ...)
# S3 method for how
getType(object, which = c("plots", "within"), ...)
# S3 method for Plots
getType(object, ...)
# S3 method for Within
getType(object, ...)
# S3 method for how
getWithin(object, ...)
# S3 method for allPerms
getControl(object, ...)
The contents of the corresponding component of object.
An R object on which to dispatch.
Arguments passed to other methods.
Character; the level of restriction for which information is required.
Logical; should unused factor levels be dropped?
Gavin Simpson
getHow() is an alias for getControl(); specific getControl() methods
are useful when debugging.
check() checks a permutation design described by how().
hh <- how()
getWithin(hh)
getNperm(hh)
Run the code above in your browser using DataLab