Description Usage Arguments Details Value Note See Also Examples
Methods to display the design key matrices.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
object |
object of the class |
The slot pseudo.info
of the objects of class
keymatrix
is invisible.
NULL
- An R option named planor.max.print
is set. It is equal
to the number of printed
rows and columns in the display of planor matrices. Default is 20.
You can change its value by using the function
options()
(see ?options
).
- This method is automatically invoked when objects of the class are displayed (see examples).
Classes where this method applies:
designkey
,
keymatrix
,
keyring
,
listofdesignkeys
,
listofkeyrings
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ### 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)
### Method show applied on a keymatrix object
show(K0[[1]][[1]])
### Method show applied on a designkey object
show(K0[1])
### Method show applied on the listofdesignkeys object
show(K0)
K0 # same
### Creation of a listofkeyrings object
K0 <- planor.designkey(factors=c(LETTERS[1:4], "block"), nlevels=rep(3,5),
model=~block+(A+B+C+D)^2, estimate=~A+B+C+D,
nunits=3^3, base=~A+B+C, max.sol=2)
### Method show applied on a keyring object
show(K0[[1]])
print(K0[[1]]) # same
K0[[1]] # same
### Method show applied on the listofkeyrings object
show(K0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.