Caio,

using algdesign code below (this produces a full factorial 2*3*3 full design)

gen.factorial(c(2,3,3))

  X1 X2 X3
1  -1 -1 -1
2   1 -1 -1
3  -1  0 -1
4   1  0 -1
5  -1  1 -1
6   1  1 -1
7  -1 -1  0
8   1 -1  0
9  -1  0  0
10  1  0  0
11 -1  1  0
12  1  1  0
13 -1 -1  1
14  1 -1  1
15 -1  0  1
16  1  0  1
17 -1  1  1
18  1  1  1

using  .......
optFederov(~.,dat,6)

here is a design that is produced with six trials

  X1 X2 X3
3   1 -1 -1
4  -1  1 -1
13 -1 -1  1
15  1 -1  1
16 -1  1  1
18  1  1  1

This does the job with good efficiency.

I would be interested to know what your objection to this is S

Regards Paul


----- Original Message ----- From: "Caio Azevedo" <[EMAIL PROTECTED]>
To: "R - discussion list" <[EMAIL PROTECTED]>
Sent: Monday, April 28, 2008 11:11 PM
Subject: [R] Fractional Factorial Design


Hi all,

Does anybody know if it is possible to build a fractional factorial design
in R? That is, suppose that we want do design an experiment with 3 factors
with 2, 3 and 3 levels, respectivly. However we want to consider, let's say, only 6 from all possible level combinations. Does R design such experiment?

Thanks in advance,



[[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to