View source: R/optAugmentLHS.R
optAugmentLHS | R Documentation |
Augments an existing Latin Hypercube Sample, adding points to the design, while maintaining the latin properties of the design. This function attempts to add the points to the design in an optimal way.
optAugmentLHS(lhs, m = 1, mult = 2)
lhs |
The Latin Hypercube Design to which points are to be added |
m |
The number of additional points to add to matrix |
mult |
|
Augments an existing Latin Hypercube Sample, adding points to the design, while maintaining the latin properties of the design. This function attempts to add the points to the design in a way that maximizes S optimality.
S-optimality seeks to maximize the mean distance from each design point to all the other points in the design, so the points are as spread out as possible.
An n
by k
Latin Hypercube Sample matrix with values uniformly distributed on [0,1]
Stein, M. (1987) Large Sample Properties of Simulations Using Latin Hypercube Sampling. Technometrics. 29, 143–151.
[randomLHS()], [geneticLHS()], [improvedLHS()], [maximinLHS()], and [optimumLHS()] to generate Latin Hypercube Samples. [optSeededLHS()] and [augmentLHS()] to modify and augment existing designs.
set.seed(1234)
a <- randomLHS(4,3)
b <- optAugmentLHS(a, 2, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.