designLHDNorm: Normalized LHD Design

View source: R/designLHD.R

designLHDNormR Documentation

Normalized LHD Design

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

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 June 26, 2022, 1:06 a.m.