lhs v1.0.1

0

Monthly downloads

0th

Percentile

Latin Hypercube Samples

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

Readme

lhs

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

Linux & MacOS Windows Code Coverage CRAN Downloads CRAN
Build Status Build status Coverage status CRAN status

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

Other

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

Functions in lhs

Name Description
createAddelKemp Create an orthogonal array using the Addelman-Kempthorne algorithm
createBoseBush Create an orthogonal array using the Bose-Bush algorithm
lhs-package lhs: Latin Hypercube Samples
createBoseBushl Create an orthogonal array using the Bose-Bush algorithm with alternate strength >= 3
geneticLHS Latin Hypercube Sampling with a Genetic Algorithm
createAddelKempN Create an orthogonal array using the Addelman-Kempthorne algorithm with alternate strength
createBush Create an orthogonal array using the Bush algorithm
randomLHS Construct a random Latin hypercube design
optSeededLHS Optimum Seeded Latin Hypercube Sample
optimumLHS Optimum Latin Hypercube Sample
maximinLHS Maximin Latin Hypercube Sample
runifint Create a Random Sample of Uniform Integers
oa_to_oalhs Create a Latin hypercube from an orthogonal array
optAugmentLHS Optimal Augmented Latin Hypercube Sample
improvedLHS Improved Latin Hypercube Sample
createBose Create an orthogonal array using the Bose algorithm
createAddelKemp3 Create an orthogonal array using the Addelman-Kempthorne algorithm with 2*q^3 rows
createBusht Create an orthogonal array using the Bush algorithm with alternate strength
create_oalhs Create an orthogonal array Latin hypercube
augmentLHS Augment a Latin Hypercube Design
No Results!

Vignettes of lhs

Name
VignetteCommonCode.R
augment_lhs.Rmd
lhs_basics.Rmd
lhs_faq.Rmd
No Results!

Last month downloads

Details

License GPL-3
Encoding UTF-8
LazyData true
LinkingTo Rcpp
URL https://github.com/bertcarnell/lhs
BugReports https://github.com/bertcarnell/lhs/issues
RoxygenNote 6.1.1
VignetteBuilder knitr
NeedsCompilation yes
Packaged 2019-02-02 20:54:26 UTC; bertc
Repository CRAN
Date/Publication 2019-02-03 11:00:14 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/lhs)](http://www.rdocumentation.org/packages/lhs)