Description Usage Arguments Details Value Author(s) See Also Examples
Procedure to nest two experimental design sets.
1 | SubstDesign(PX2 = NULL,PX1 = NULL)
|
PX2 |
a matrix representing the first experimental design set. This design set is not changed during the procedure. |
PX1 |
a matrix representing the second experimental design set. This design set is changed in order to include |
The procedure does not change the experimental design set PX2
which must have a number of points
smaller than the one of PX1
. During the procedure, the points of PX1
the closest to those of PX2
are
removed and they are replaced by the points of PX2
. Thus, the length of the final PX1
could be larger than the one of the initial PX1
.
PX |
a matrix representing the experimental design set |
le |
a numeric representing the number of points of |
Loic Le Gratiet
MuFicokm
, NestedDesignBuild
, NestedDesign
1 2 3 4 5 6 7 8 9 10 11 12 | dimension <- 2
nD1 <- 100
nD2 <- 50
set.seed(1);D1 <- matrix(runif(n=nD1*dimension, 0,1),ncol=dimension)
set.seed(2);D2 <- matrix(runif(n=nD2*dimension, 0,1),ncol=dimension)
subDes <- SubstDesign(PX2 = D2, PX1 = D1)
op <- par(mfrow=c(2,1))
plot(rbind(D1,D2),col=c(rep(1,nD1),rep(2,nD2)),
pch=c(rep(1,nD1),rep(2,nD2)),xlab="x1",ylab="x2")
plot(rbind(subDes$PX,D2),col=c(rep(1,dim(subDes$PX)[1]),rep(2,nD2)),
pch=c(rep(1,dim(subDes$PX)[1]),rep(2,nD2)),xlab="x1",ylab="x2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.