OLHD.S2010 {LHD}R Documentation

Orthogonal Latin Hypercube Design

Description

OLHD.S2010 returns a r2^{C+1}+1 or r2^{C+1} by 2^C orthogonal Latin hypercube design generated by the construction method of Sun et al. (2010)

Usage

OLHD.S2010(C, r, type = "odd")

Arguments

C

A positive integer.

r

A positive integer.

type

Design run size type, and it could be either odd or even. If type is odd (the default setting), OLHD.S2010 returns an OLHD with run size r2^{C+1}+1. If type is even, OLHD.S2010 returns an OLHD with run size r2^{C+1}.

Value

If all inputs are logical, then the output will be an orthogonal LHD with the following run size: n=r2^{C+1}+1 or n=r2^{C+1} and the following factor size: k=2^C.

References

Sun, F., Liu, M.Q., and Lin, D.K. (2010) Construction of orthogonal Latin hypercube designs with flexible run sizes. Journal of Statistical Planning and Inference, 140(11), 3236-3242.

Examples

#create an orthogonal LHD with C=3, r=3, type="odd".
#So n=3*2^4+1=49 and k=2^3=8
OLHD.S2010(C=3,r=3,type="odd")

#create an orthogonal LHD with C=3, r=3, type="even".
#So n=3*2^4=48 and k=2^3=8
OLHD.S2010(C=3,r=3,type="even")


[Package LHD version 1.3.3 Index]