space_fill: Create Space-Filling Design

Description Usage Arguments Value Examples

View source: R/space_fill.R

Description

Generates a maximin latin hypercube sample (LHS) covering the space defined by lower_bound and upper_bound with budget number of points. The resulting LHS is shifted and scaled to the domain defined by lower_bound and upper_bound.

Usage

1
space_fill(lower_bound, upper_bound, budget)

Arguments

lower_bound

A vector of length d.

upper_bound

A vector of length d.

budget

An integer.

Value

A matrix with budget rows and d columns.

Examples

1
2
my_lhs <- space_fill(c(0,0),c(10,10),20)
plot(my_lhs)

GADGET documentation built on Jan. 25, 2020, 1:06 a.m.