OLHD.L2009 {LHD} | R Documentation |
Orthogonal Latin Hypercube Design
Description
OLHD.L2009
returns a n^2
by 2fp
orthogonal Latin hypercube design generated by the construction method of Lin et al. (2009)
Usage
OLHD.L2009(OLHD, OA)
Arguments
OLHD |
An orthogonal Latin hypercube design with run size |
OA |
An orthogonal array, with |
Value
If all inputs are logical, e,g. a n
by p
orthogonal Latin hypercube design and an OA(n^2,2f,n,2)
orthogonal array, then the output will be an orthogonal Latin hypercube design with the following run size: n^2
and the following factor size: 2fp
.
References
Lin, C.D., Mukerjee, R., and Tang, B. (2009) Construction of orthogonal and nearly orthogonal Latin hypercubes. Biometrika, 96(1), 243-247.
Examples
#create a 5 by 2 OLHD
OLHD=OLHD.C2007(m=2)
#create an OA(25,6,5,2)
OA=matrix(c(2,2,2,2,2,1,2,1,5,4,3,5,3,2,1,5,4,5,1,5,4,3,2,5,
4,1,3,5,2,3,1,2,3,4,5,2,1,3,5,2,4,3,1,1,1,1,1,1,4,3,2,1,5,5,
5,5,5,5,5,1,4,4,4,4,4,1,3,1,4,2,5,4,3,3,3,3,3,1,3,5,2,4,1,3,
3,4,5,1,2,2,5,4,3,2,1,5,2,3,4,5,1,2,2,5,3,1,4,4,1,4,2,5,3,4,
4,2,5,3,1,4,2,4,1,3,5,3,5,3,1,4,2,4,5,2,4,1,3,3,5,1,2,3,4,2,
4,5,1,2,3,2),ncol=6,nrow=25,byrow=TRUE)
#Construct a 25 by 12 OLHD
OLHD.L2009(OLHD,OA)