Package: lhs 1.2.0

lhs: Latin Hypercube Samples

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

Authors:Rob Carnell [aut, cre]

lhs_1.2.0.tar.gz
lhs_1.2.0.zip(r-4.5)lhs_1.2.0.zip(r-4.4)lhs_1.2.0.zip(r-4.3)
lhs_1.2.0.tgz(r-4.4-x86_64)lhs_1.2.0.tgz(r-4.4-arm64)lhs_1.2.0.tgz(r-4.3-x86_64)lhs_1.2.0.tgz(r-4.3-arm64)
lhs_1.2.0.tar.gz(r-4.5-noble)lhs_1.2.0.tar.gz(r-4.4-noble)
lhs_1.2.0.tgz(r-4.4-emscripten)lhs_1.2.0.tgz(r-4.3-emscripten)
lhs.pdf |lhs.html
lhs/json (API)
NEWS

# Install 'lhs' in R:
install.packages('lhs', repos = c('https://bertcarnell.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bertcarnell/lhs/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

latin-hypercubelatin-hypercube-samplelatin-hypercube-samplinglhsorthogonal-arrays

28 exports 41 stars 6.90 score 1 dependencies 89 dependents 23 mentions 1.2k scripts 32.1k downloads

Last updated 3 months agofrom:4be72495c0. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 29 2024
R-4.5-win-x86_64OKAug 29 2024
R-4.5-linux-x86_64OKAug 29 2024
R-4.4-win-x86_64OKAug 29 2024
R-4.4-mac-x86_64OKAug 29 2024
R-4.4-mac-aarch64OKAug 29 2024
R-4.3-win-x86_64OKAug 29 2024
R-4.3-mac-x86_64OKAug 29 2024
R-4.3-mac-aarch64OKAug 29 2024

Exports:augmentLHScorrelatedLHScreate_galois_fieldcreate_oalhscreateAddelKempcreateAddelKemp3createAddelKempNcreateBosecreateBoseBushcreateBoseBushlcreateBushcreateBushtgeneticLHSget_library_versionsimprovedLHSmaximinLHSoa_to_oalhsoptAugmentLHSoptimumLHSoptSeededLHSpoly_prodpoly_sumpoly2intqdirichletqfactorqintegerrandomLHSrunifint

Dependencies:Rcpp

An Example of Augmenting a Latin Hypercube

Rendered fromaugment_lhs.Rmdusingknitr::rmarkdownon Aug 29 2024.

Last update: 2019-01-13
Started: 2019-01-13

Basic Latin hypercube samples and designs with package lhs

Rendered fromlhs_basics.Rmdusingknitr::rmarkdownon Aug 29 2024.

Last update: 2022-02-20
Started: 2019-01-13

Examples of Correlated and Multivariate Latin hypercubes

Rendered fromcorrelated_lhs.Rmdusingknitr::rmarkdownon Aug 29 2024.

Last update: 2024-06-22
Started: 2024-05-05

Latin Hypercube Samples - Questions

Rendered fromlhs_faq.Rmdusingknitr::rmarkdownon Aug 29 2024.

Last update: 2024-06-22
Started: 2019-01-18

Readme and manuals

Help Manual

Help pageTopics
Augment a Latin Hypercube DesignaugmentLHS
Transformed Latin hypercube with a multivariate distributioncorrelatedLHS
Create a Galois fieldcreate_galois_field
Create an orthogonal array Latin hypercubecreate_oalhs
Create an orthogonal array using the Addelman-Kempthorne algorithm.createAddelKemp
Create an orthogonal array using the Addelman-Kempthorne algorithm with '2q^3' rows.createAddelKemp3
Create an orthogonal array using the Addelman-Kempthorne algorithm with alternate strength with '2q^n' rows.createAddelKempN
Create an orthogonal array using the Bose algorithm.createBose
Create an orthogonal array using the Bose-Bush algorithm.createBoseBush
Create an orthogonal array using the Bose-Bush algorithm with alternate strength >= 3.createBoseBushl
Create an orthogonal array using the Bush algorithm.createBush
Create an orthogonal array using the Bush algorithm with alternate strength.createBusht
Latin Hypercube Sampling with a Genetic AlgorithmgeneticLHS
Get version information for all libraries in the lhs packageget_library_versions
Improved Latin Hypercube SampleimprovedLHS
Maximin Latin Hypercube SamplemaximinLHS
Create a Latin hypercube from an orthogonal arrayoa_to_oalhs
Optimal Augmented Latin Hypercube SampleoptAugmentLHS
Optimum Latin Hypercube SampleoptimumLHS
Optimum Seeded Latin Hypercube SampleoptSeededLHS
Multiplication in polynomial representationpoly_prod
Addition in polynomial representationpoly_sum
Convert polynomial to integer in <code>0..q-1</code>poly2int
Quantile Transformationsqdirichlet qfactor qinteger
Construct a random Latin hypercube designrandomLHS
Create a Random Sample of Uniform Integersrunifint