Provides a number of methods for creating and augmenting Latin Hypercube Samples and Orthogonal Array Latin Hypercube Samples.

This package provides a number of methods for creating and augmenting Latin Hypercube Samples

_{Linux & MacOS} |
_{Windows} |
_{Code Coverage} |
_{CRAN Downloads} |
_{CRAN} |
---|---|---|---|---|

Visit the webpage here

See the Doxygen documentation here

You can install the released version of `lhs`

from CRAN with:

install.packages("lhs")

You can also install the development version of `lhs`

from here with:

# (if not done already:) install.packages("devtools")devtools::install_github("bertcarnell/lhs")

Create a random LHS with 10 samples and 3 variables

X <- randomLHS(10, 3)

The reverse dependency checks for lhs can be found here.

R-Help Examples of using the LHS package

- Latin hyper cube sampling from expand.grid()
- Latin Hypercube Sampling with a condition
- Latin Hypercube with condition sum = 1
- Latin hypercube sampling
- Latin Hypercube Sample and transformation to uniformly distributed integers or classes
- Latin hypercube sampling from a non-uniform distribution
- Latin Hypercube Sampling when parameters are defined according to specific probability distributions

lhs package announcement: R-pkgs New R-Packages: Triangle and LHS