OLHD.S2010: Orthogonal Latin Hypercube Design

Description Usage Arguments Value References Examples

View source: R/OLHD.S2010.R

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

1
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

1
2
3
4
5
6
7
#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")

LHD documentation built on Aug. 1, 2021, 1:06 a.m.