Description Objects from the Class Slots Methods Author(s) Examples
An S4 class to represent a final design.
Objects can be created by calls to method
planor.design
applied on an object of class
designkey
or on an object of class
listofkeyrings
, and by calls to
regular.design
when argument output
is equal to ‘planordesign’.
a dataframe containing the final design.
factors
an object of class
designfactors
which contains the factors specifications.
a list containing the model and estimate specifications.
a
list
of the keymatrix
objects
used to create the object.
the number of units of the design.
a logical
equal to TRUE if the design has been constructed recursively.
extract
a design data frame. See getDesign
method.
coerce into a data frame. See
as.data.frame
method.
Monod, H. and Bouvier, A.
1 2 3 4 5 6 7 8 | showClass("planordesign")
### Creation of a listofdesignkeys object
K0 <- planor.designkey(factors=c("R","C","U","A","B1","B2"),
nlevels=c(3,2,2,3,2,2), model=~R*C + (A+B1+B2)^2, estimate=~A:B1+A:B2,
nunits=12, base=~R+C+U, max.sol=2)
### Creation of a planordesign object from K0
P0 <- planor.design(key=K0, select=1)
show(P0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.