Learn R Programming

SPOT (version 2.11.10)

designLHDNorm: 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

See Also

This function is used as a basis for designLHD.