lhs
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
Installation
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")
Example
Create a random LHS with 10 samples and 3 variables
X <- randomLHS(10, 3)
Development
The reverse dependency checks for lhs can be found here.
Help
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
Other
lhs package announcement: R-pkgs New R-Packages: Triangle and LHS