latin.hypercube {emulator} | R Documentation |
Gives a Latin hypercube design matrix with an arbitrary number of
points in an arbitrary number of dimensions. The toy
dataset
was generated using latin.hypercube()
.
latin.hypercube(n, d, normalize=FALSE)
n |
Number of points |
d |
Number of dimensions |
normalize |
Boolean variable with TRUE meaning to
normalize each column so the minimum is zero and the maximum is
one. If it takes its default FALSE , the points represent
midpoints of n equispaced intervals; the points thus have a minimum of
0.5/n and a maximum of 1-0.5/n. |
Robin K. S. Hankin
#10 points, 6 dimensions: (latin.hypercube(10,6) -> x) plot(as.data.frame(x))