latin.hypercube | 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, names=NULL, normalize=FALSE, complex=FALSE)
n |
Number of points |
d |
Number of dimensions |
names |
Character vector for column names (optional) |
normalize |
Boolean variable with |
complex |
Boolean with default |
Robin K. S. Hankin
#10 points, 6 dimensions:
(latin.hypercube(10,6) -> x)
plot(as.data.frame(x))
latin.hypercube(10,2,complex=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.