designkey-class: Class designkey

Description Objects from the Class Slots Extends Methods Author(s) Examples

Description

An S4 class to represent a design-key solution.

Objects from the Class

Objects can be created by extraction from an object of class listofkeyrings or class listofdesignkeys.

Slots

.Data

a single design-key solution, i.e a list with one keymatrix per prime.

factors

an object of class designfactors which contains the factors specifications.

model

a list which contains the model and estimate specifications.

nunits

the number of units of the design.

recursive

a logical equal to TRUE if the design has been constructed recursively.

Extends

Class list, from data part. Class vector, by class list, distance 2.

Methods

alias

summarize the design properties. See alias method.

planor.design

build the design from the design key matrix. See planor.design method.

show

display the object. See show method.

summary

summarize the design properties. See summary method.

Author(s)

Monod, H. and Bouvier, A.

Examples

1
2
3
4
5
### Creation of a designkey 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)
print(K0[1])

Example output

Loaded planor 1.4.1

Preliminary step 1 : processing the model specifications
Preliminary step 2 : performing prime decompositions on the factors
*** Main step for prime p = 3 : key-matrix search
  => search for columns 4 to 5 
      first visit to column 4
      first visit to column 5
    ---    col. 5 ( j = 2) 18 selected candidates
The search is closed: max.sol = 2 solution(s) found 
An object of class designkey

********** Prime  3  design **********

  A B C D block
A 1 0 0 1     1
B 0 1 0 1     1
C 0 0 1 1     0

planor documentation built on March 19, 2020, 1:06 a.m.