designLHDNorm: Normalized LHD Design

Description Usage Arguments Value Author(s) See Also

View source: R/designLHD.R

Description

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.

Usage

1
2
3
4
5
6
7
designLHDNorm(
  dim,
  size,
  calcMinDistance = FALSE,
  nested = NULL,
  inequalityConstraint = NULL
)

Arguments

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].

Value

list L
- L consists of a matrix L$design and (if required) a minimal distance L$minDistance

Author(s)

Original code by Christian Lasarczyk, adaptations by Martin Zaefferer

See Also

This function is used as a basis for designLHD.


SPOT documentation built on Oct. 23, 2021, 1:06 a.m.