{
  "_id": "6a1bd5661d7bb097a0a159b1",
  "Package": "lhs",
  "Title": "Latin Hypercube Samples",
  "Version": "1.3.0",
  "Authors@R": "person(given = \"Rob\",\nfamily = \"Carnell\",\nrole = c(\"aut\", \"cre\"),\nemail = \"bertcarnell@gmail.com\",\ncomment = c(ORCID = \"0009-0009-0465-7564\")\n)",
  "Description": "Provides a number of methods for creating and augmenting\nLatin Hypercube Samples and Orthogonal Array Latin Hypercube\nSamples.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://github.com/bertcarnell/lhs",
  "BugReports": "https://github.com/bertcarnell/lhs/issues",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Repository": "https://bertcarnell.r-universe.dev",
  "Date/Publication": "2026-05-01 23:41:33 UTC",
  "RemoteUrl": "https://github.com/bertcarnell/lhs",
  "RemoteRef": "HEAD",
  "RemoteSha": "25428ed335b0ca6fd10055230fc169d3c25852ce",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-31 06:15:06 UTC",
    "User": "root"
  },
  "Author": "Rob Carnell [aut, cre] (ORCID: <https://orcid.org/0009-0009-0465-7564>)",
  "Maintainer": "Rob Carnell <bertcarnell@gmail.com>",
  "MD5sum": "fda71734c74f80af159dfa86e68818f6",
  "_user": "bertcarnell",
  "_type": "src",
  "_file": "lhs_1.3.0.tar.gz",
  "_fileid": "b1ee1f4fc0fa8694147096e228ef7177f37b32089de5613653678bf461d0ff03",
  "_filesize": 2651033,
  "_sha256": "b1ee1f4fc0fa8694147096e228ef7177f37b32089de5613653678bf461d0ff03",
  "_created": "2026-05-31T06:15:06.000Z",
  "_published": "2026-05-31T06:29:58.485Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78704872362,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314362539"
    },
    {
      "job": 78704872372,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314364818"
    },
    {
      "job": 78704872360,
      "time": 206,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314366643"
    },
    {
      "job": 78704872363,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314362791"
    },
    {
      "job": 78704872370,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314415871"
    },
    {
      "job": 78704872375,
      "time": 353,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314430158"
    },
    {
      "job": 78704872376,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314417984"
    },
    {
      "job": 78704872368,
      "time": 243,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314427134"
    },
    {
      "job": 78704590628,
      "time": 305,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314345434"
    },
    {
      "job": 78704872353,
      "time": 158,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314361936"
    },
    {
      "job": 78704872373,
      "time": 251,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314371298"
    },
    {
      "job": 78704872380,
      "time": 167,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314362947"
    },
    {
      "job": 78704872385,
      "time": 170,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314363438"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bertcarnell/lhs",
  "_commit": {
    "id": "25428ed335b0ca6fd10055230fc169d3c25852ce",
    "author": "Rob <bertcarnell@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Delete security_scan.yaml",
    "time": 1777678893
  },
  "_maintainer": {
    "name": "Rob Carnell",
    "email": "bertcarnell@gmail.com",
    "login": "bertcarnell",
    "description": "Physicist, Submariner, Nuclear Engineer, Statistician, Data Scientist, SCOTUS Watcher, Genealogist, Cancer Charity Rider",
    "uuid": 1971363
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "DoE.base",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bertcarnell",
  "_selfowned": true,
  "_usedby": 84,
  "_updates": [
    {
      "week": "2026-09",
      "n": 3
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 8
    },
    {
      "week": "2026-18",
      "n": 13
    }
  ],
  "_tags": [
    {
      "name": "v1.2.1",
      "date": "2026-02-28"
    },
    {
      "name": "v1.3.0",
      "date": "2026-04-27"
    }
  ],
  "_topics": [
    "latin-hypercube",
    "latin-hypercube-sample",
    "latin-hypercube-sampling",
    "lhs",
    "orthogonal-arrays",
    "cpp"
  ],
  "_stars": 51,
  "_contributors": [
    {
      "user": "bertcarnell",
      "count": 337,
      "uuid": 1971363
    }
  ],
  "_userbio": {
    "uuid": 1971363,
    "type": "user",
    "name": "Rob",
    "description": "Physicist, Submariner, Nuclear Engineer, Statistician, Data Scientist, SCOTUS Watcher, Genealogist, Cancer Charity Rider"
  },
  "_downloads": {
    "count": 22938,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lhs"
  },
  "_mentions": 23,
  "_devurl": "https://github.com/bertcarnell/lhs",
  "_searchresults": 1888,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lhs.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bertcarnell/lhs",
  "_realowner": "bertcarnell",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2006-07-11"
    },
    {
      "version": "0.2",
      "date": "2006-07-21"
    },
    {
      "version": "0.3",
      "date": "2006-10-22"
    },
    {
      "version": "0.5",
      "date": "2009-01-26"
    },
    {
      "version": "0.7",
      "date": "2012-03-27"
    },
    {
      "version": "0.8",
      "date": "2012-07-11"
    },
    {
      "version": "0.10",
      "date": "2012-07-13"
    },
    {
      "version": "0.12",
      "date": "2016-01-15"
    },
    {
      "version": "0.13",
      "date": "2016-01-18"
    },
    {
      "version": "0.14",
      "date": "2016-08-09"
    },
    {
      "version": "0.15",
      "date": "2017-12-20"
    },
    {
      "version": "0.16",
      "date": "2018-01-04"
    },
    {
      "version": "1.0",
      "date": "2019-01-31"
    },
    {
      "version": "1.0.1",
      "date": "2019-02-03"
    },
    {
      "version": "1.0.2",
      "date": "2020-04-13"
    },
    {
      "version": "1.1.0",
      "date": "2020-09-29"
    },
    {
      "version": "1.1.1",
      "date": "2020-10-05"
    },
    {
      "version": "1.1.2",
      "date": "2021-09-07"
    },
    {
      "version": "1.1.3",
      "date": "2021-09-08"
    },
    {
      "version": "1.1.4",
      "date": "2022-02-20"
    },
    {
      "version": "1.1.5",
      "date": "2022-03-22"
    },
    {
      "version": "1.1.6",
      "date": "2022-12-17"
    },
    {
      "version": "1.2.0",
      "date": "2024-06-30"
    },
    {
      "version": "1.2.1",
      "date": "2026-03-01"
    },
    {
      "version": "1.3.0",
      "date": "2026-04-27"
    }
  ],
  "_exports": [
    "augmentLHS",
    "correlatedLHS",
    "create_galois_field",
    "create_oalhs",
    "createAddelKemp",
    "createAddelKemp3",
    "createAddelKempN",
    "createBose",
    "createBoseBush",
    "createBoseBushl",
    "createBush",
    "createBusht",
    "geneticLHS",
    "get_library_versions",
    "improvedLHS",
    "maximinLHS",
    "oa_to_oalhs",
    "optAugmentLHS",
    "optimumLHS",
    "optSeededLHS",
    "poly_prod",
    "poly_sum",
    "poly2int",
    "qdirichlet",
    "qfactor",
    "qinteger",
    "randomLHS",
    "runifint"
  ],
  "_help": [
    {
      "page": "augmentLHS",
      "title": "Augment a Latin Hypercube Design",
      "topics": [
        "augmentLHS"
      ]
    },
    {
      "page": "correlatedLHS",
      "title": "Transformed Latin hypercube with a multivariate distribution",
      "topics": [
        "correlatedLHS"
      ]
    },
    {
      "page": "create_galois_field",
      "title": "Create a Galois field",
      "topics": [
        "create_galois_field"
      ]
    },
    {
      "page": "create_oalhs",
      "title": "Create an orthogonal array Latin hypercube",
      "topics": [
        "create_oalhs"
      ]
    },
    {
      "page": "createAddelKemp",
      "title": "Create an orthogonal array using the Addelman-Kempthorne algorithm.",
      "topics": [
        "createAddelKemp"
      ]
    },
    {
      "page": "createAddelKemp3",
      "title": "Create an orthogonal array using the Addelman-Kempthorne algorithm with '2q^3' rows.",
      "topics": [
        "createAddelKemp3"
      ]
    },
    {
      "page": "createAddelKempN",
      "title": "Create an orthogonal array using the Addelman-Kempthorne algorithm with alternate strength with '2q^n' rows.",
      "topics": [
        "createAddelKempN"
      ]
    },
    {
      "page": "createBose",
      "title": "Create an orthogonal array using the Bose algorithm.",
      "topics": [
        "createBose"
      ]
    },
    {
      "page": "createBoseBush",
      "title": "Create an orthogonal array using the Bose-Bush algorithm.",
      "topics": [
        "createBoseBush"
      ]
    },
    {
      "page": "createBoseBushl",
      "title": "Create an orthogonal array using the Bose-Bush algorithm with alternate strength >= 3.",
      "topics": [
        "createBoseBushl"
      ]
    },
    {
      "page": "createBush",
      "title": "Create an orthogonal array using the Bush algorithm.",
      "topics": [
        "createBush"
      ]
    },
    {
      "page": "createBusht",
      "title": "Create an orthogonal array using the Bush algorithm with alternate strength.",
      "topics": [
        "createBusht"
      ]
    },
    {
      "page": "geneticLHS",
      "title": "Latin Hypercube Sampling with a Genetic Algorithm",
      "topics": [
        "geneticLHS"
      ]
    },
    {
      "page": "get_library_versions",
      "title": "Get version information for all libraries in the lhs package",
      "topics": [
        "get_library_versions"
      ]
    },
    {
      "page": "improvedLHS",
      "title": "Improved Latin Hypercube Sample",
      "topics": [
        "improvedLHS"
      ]
    },
    {
      "page": "maximinLHS",
      "title": "Maximin Latin Hypercube Sample",
      "topics": [
        "maximinLHS"
      ]
    },
    {
      "page": "oa_to_oalhs",
      "title": "Create a Latin hypercube from an orthogonal array",
      "topics": [
        "oa_to_oalhs"
      ]
    },
    {
      "page": "optAugmentLHS",
      "title": "Optimal Augmented Latin Hypercube Sample",
      "topics": [
        "optAugmentLHS"
      ]
    },
    {
      "page": "optimumLHS",
      "title": "Optimum Latin Hypercube Sample",
      "topics": [
        "optimumLHS"
      ]
    },
    {
      "page": "optSeededLHS",
      "title": "Optimum Seeded Latin Hypercube Sample",
      "topics": [
        "optSeededLHS"
      ]
    },
    {
      "page": "poly_prod",
      "title": "Multiplication in polynomial representation",
      "topics": [
        "poly_prod"
      ]
    },
    {
      "page": "poly_sum",
      "title": "Addition in polynomial representation",
      "topics": [
        "poly_sum"
      ]
    },
    {
      "page": "poly2int",
      "title": "Convert polynomial to integer in <code>0..q-1</code>",
      "topics": [
        "poly2int"
      ]
    },
    {
      "page": "quanttrans",
      "title": "Quantile Transformations",
      "topics": [
        "qdirichlet",
        "qfactor",
        "qinteger"
      ]
    },
    {
      "page": "randomLHS",
      "title": "Construct a random Latin hypercube design",
      "topics": [
        "randomLHS"
      ]
    },
    {
      "page": "runifint",
      "title": "Create a Random Sample of Uniform Integers",
      "topics": [
        "runifint"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bertcarnell/lhs/raw/HEAD/logo.svg",
  "_readme": "https://github.com/bertcarnell/lhs/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "augment_lhs.Rmd",
      "filename": "augment_lhs.html",
      "title": "An Example of Augmenting a Latin Hypercube",
      "author": "Rob Carnell",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2019-01-13 04:00:39",
      "modified": "2019-01-13 04:00:39",
      "commits": 1
    },
    {
      "source": "lhs_basics.Rmd",
      "filename": "lhs_basics.html",
      "title": "Basic Latin hypercube samples and designs with package lhs",
      "author": "Rob Carnell",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Theory of Latin Hypercube Sampling",
        "Create a Simple LHS",
        "Optimizing the Design",
        "Method | Min Distance btwn pts | Mean Distance btwn pts | Max Correlation btwn pts:-----|:-----:|:-----:|:-----:randomLHS | r min(dist(A)) | r mean(dist(A)) | r max(abs(cor(A)-diag(10)))optimumLHS | r min(dist(A1)) | r mean(dist(A1)) | r max(abs(cor(A1)-diag(10)))maximinLHS | r min(dist(A2)) | r mean(dist(A2)) | r max(abs(cor(A2)-diag(10)))improvedLHS | r min(dist(A3)) | r mean(dist(A3)) | r max(abs(cor(A3)-diag(10)))geneticLHS (S) | r min(dist(A4)) | r mean(dist(A4)) | r max(abs(cor(A4)-diag(10)))geneticLHS (Maximin) | r min(dist(A5)) | r mean(dist(A5)) | r max(abs(cor(A5)-diag(10)))"
      ],
      "created": "2019-01-13 04:00:39",
      "modified": "2022-02-20 02:04:07",
      "commits": 2
    },
    {
      "source": "correlated_lhs.Rmd",
      "filename": "correlated_lhs.html",
      "title": "Examples of Correlated and Multivariate Latin hypercubes",
      "author": "Rob Carnell",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 1: Simple Correlation",
        "Example 2: Dirichlet distribution",
        "Method 1: correlatedLHS",
        "Method 2: q_dirichlet",
        "Example 3: Rejection Sample"
      ],
      "created": "2024-05-05 23:44:31",
      "modified": "2024-06-22 17:23:49",
      "commits": 2
    },
    {
      "source": "lhs_faq.Rmd",
      "filename": "lhs_faq.html",
      "title": "Latin Hypercube Samples - Questions",
      "author": "Rob Carnell",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Question 1",
        "Answer",
        "Question 2",
        "Question 3",
        "Question 5",
        "Question 6"
      ],
      "created": "2019-01-18 02:05:31",
      "modified": "2024-06-22 17:23:49",
      "commits": 4
    }
  ],
  "_score": 13.648618242236147,
  "_indexed": true,
  "_nocasepkg": "lhs",
  "_universes": [
    "bertcarnell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-05-31T06:17:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "f4098bcf76cb8d2c9ee94f6f1fd16003779715855aaae1c0499ebb351e083f54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-05-31T06:18:02.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "1b14e0286844f5ed990c479189ceac6c77fe4502f150326a647a90991e3b3e0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-05-31T06:18:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "bae97fae37f9420a1a76dc2a9669e69c8146280100fc411d00343daa69410811",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-05-31T06:17:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "6abe37bc5cf097d4d88422aa42ef6773a21c1914803a977981728228db9c18cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-05-31T06:26:27.000Z",
      "arch": "aarch64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "0a506dacdcff4c20f9a3b01d6e8d34a8eb4226606dbccff408f265d10536e7f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-05-31T06:27:09.000Z",
      "arch": "x86_64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "91552f24b90f028b8115d0b9da326ae350fef76ba487298c9a65561484dac144",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-05-31T06:26:42.000Z",
      "arch": "aarch64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "b9150310ed3d6a67c8c025f0f9e6372fbb4075dcd56721d3f1a73171c5ca6bfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-05-31T06:27:26.000Z",
      "arch": "x86_64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "4d6918989ae4b517b1c1fea41ac887a26d45d60ee32fce33f4a6caeba48a9b19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-05-31T06:18:02.000Z",
      "arch": "emscripten",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "487cc00ac3f89ea3202b3a82b7e0afca76d9c2eeaf15aa85df110dd92b55378c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-05-31T06:17:28.000Z",
      "arch": "x86_64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "1cb2f7d7e5ad5aff243dfbb8fb8fddb673b3c315da2ddc6eb18655e513b61826",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-05-31T06:17:01.000Z",
      "arch": "x86_64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "9582115427033e04de94b20dcef978d1dc1136758004dd164a1bf33c88f611ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-05-31T06:17:00.000Z",
      "arch": "x86_64",
      "commit": "25428ed335b0ca6fd10055230fc169d3c25852ce",
      "fileid": "abc7132d09ce8de612f9e6624d80a80ef7451893c3738d24e35af29096d685b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bertcarnell/actions/runs/26705050391"
    }
  ]
}