desnum(design)
run.order(design)
design.info(design)
design
## S3 method for class 'design':
[(x, i, j, drop.attr = TRUE, drop = FALSE)
ord(matrix, decreasing=FALSE)
FrF2
, pb
, fac.design
,
or the above extractor function for class design
. The structures of the respective design
objects are described in the vaFrF2
, pb
, or fac.design
design
, and all special design attributes are dropped;
otherwise, the design attributes are adjusted to reflect the subsettingtype
,
further info on the design, and some options of the design call regarding
randomization and replicationj
is given, the function always returns a data frame without
special attributes, even if drop.attr=FALSE
or j=1:ncol(design)
.
If only i
is given,
the default option drop.attr=TRUE
also returns a
data frame without attributes.
Exception: Even for drop.attr=TRUE
, if i
is a permutation of
the row numbers or a logical vector with all elements TRUE,
the attributes are preserved, and attributes run.order
and desnum
are reordered along with the design, if necessary.
If drop.attr=FALSE
and j
is empty,
the function returns an object of class design with rows of attributes run.order
and desnum
selected in line with those of the design itself.
In this case, the new design.info
attribute is a list with entries
design[ord(design),]
design
are data frames with attributes.
The functions desnum
, run.order
and design.info
extract
the respective attribute, i.e. e.g. function design.info
extracts the design information for the design, which depends on the way the
design was obtained. Detailed information on the structure of design.info
can be found in the value sections of the respective functions.
The extractor method subsets the design, taking care of the attributes accordingly.
Note that the information attached to objects of class design
is currently only
available for usage by the user, but is not (yet) used by the analysis facilities in the
package!FrF2
, pb
, fac.design