powered by
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.
lower_bound
upper_bound
budget
space_fill(lower_bound, upper_bound, budget)
A vector of length d.
d
An integer.
A matrix with budget rows and d columns.
# NOT RUN { my_lhs <- space_fill(c(0,0),c(10,10),20) plot(my_lhs) # }
Run the code above in your browser using DataLab