Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

create_oalhs

Create an orthogonal array Latin hypercube


Description

Create an orthogonal array Latin hypercube

Usage

create_oalhs(n, k, bChooseLargerDesign, bverbose)

Arguments

n

the number of samples or rows in the LHS (integer)

k

the number of parameters or columns in the LHS (integer)

bChooseLargerDesign

should a larger oa design be chosen than the n and k requested?

bverbose

should information be printed with execution

Value

a numeric matrix which is an orthogonal array Latin hypercube sample

Examples

set.seed(34)
A <- create_oalhs(9, 4, TRUE, FALSE)
B <- create_oalhs(9, 4, TRUE, FALSE)

lhs

Latin Hypercube Samples

v1.1.1
GPL-3
Authors
Rob Carnell [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.