bertcarnell / lhs

Provides a number of methods for creating and augmenting Latin Hypercube Samples and Orthogonal Array Latin Hypercube Samples
https://bertcarnell.github.io/lhs/
GNU General Public License v3.0
44 stars 8 forks source link

FAQ Question 1 - possible error #23

Closed mdeamico closed 4 years ago

mdeamico commented 4 years ago

FAQ question 1 reads as follows. Note line 35 with "Latin hypercube on [1,10]" and line 46 transforming the distribution. https://github.com/bertcarnell/lhs/blob/a743f244041067038d664a312cfcffbcab039abf/vignettes/lhs_faq.Rmd#L33-L46

On line 46, Should the maximum in qunif be 10? i.e. Y[,1] <- qunif(Y[,1], 1, 10)

bertcarnell commented 4 years ago

Agreed. Thank-you!

bertcarnell commented 4 years ago

Fixed in https://github.com/bertcarnell/lhs/commit/2d82655aaacf680fe0bd6dc574a774dcc552bca2