designLHDNorm | R Documentation |
Produces a normalized design and calculates the minimal distance
if required.
A design is a matrix with dim
columns and size
rows.
Distance can be calculated with respect to a fixed, nested design.
designLHDNorm( dim, size, calcMinDistance = FALSE, nested = NULL, inequalityConstraint = NULL )
dim |
number, dimension of the problem (will be no. of columns of the result matrix) |
size |
number of points with that dimension needed. (will be no. of rows of the result matrix). |
calcMinDistance |
Boolean to indicate whether a minimal distance should be calculated. |
nested |
nested design to be considered during distance calculation. |
inequalityConstraint |
inequality constraint function, smaller zero for infeasible points. Used to replace infeasible points with random points. Has to evaluate points in interval [0;1]. |
list L
- L
consists of a matrix L$design
and (if required) a minimal distance L$minDistance
Original code by Christian Lasarczyk, adaptations by Martin Zaefferer
This function is used as a basis for designLHD
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.