latinHypercubeDesign: Create a latin hypercube design (LHD)

Description Usage Arguments Value

View source: R/design_of_experiments.r

Description

Produces a LHD matrix with dimension columns and size rows.

Usage

1
2
3
latinHypercubeDesign(dimension, size = max(11 * dimension, 1 + 3 * dimension +
  dimension * (dimension - 1)/2 + 1), lowerBounds = replicate(dimension, 0),
  upperBounds = replicate(dimension, 1), retries = 2 * dimension)

Arguments

dimension

Dimension of the problem (will be no. of columns of the result matrix).

size

Number of design points, defaults to max(11 * dimension, 1 + 3 * dimension + dimension * (dimension - 1) / 2 + 1).

lowerBounds

Numeric vector of length dimension giving lower bounds for sampling, defaults to c(0.0, ...).

upperBounds

Numeric vector of length dimension giving upper bounds for sampling, defaults to c(1.0, ...).

retries

Number of retries, which is the number of trials to find a design with the lowest distance, default is 2 * dimension.

Value

A LHD matrix.


rgp documentation built on May 30, 2017, 12:45 a.m.