{
  "_id": "6ac0ef68552a13804ac7df82",
  "Package": "rje",
  "Type": "Package",
  "Title": "Miscellaneous Useful Functions for Statistics",
  "Version": "1.13.0",
  "Authors@R": "c(person(\"Robin\", \"Evans\", email=\"evans@stats.ox.ac.uk\",\nrole=c(\"aut\", \"cre\")), person(\"Mathias\", \"Drton\", role=c(\"ctb\")))",
  "Description": "A series of functions in some way considered useful to the\nauthor.  These include methods for subsetting tables and\ngenerating indices for arrays, conditioning and intervening in\nprobability distributions, generating combinations, fast\ntransformations, and more...",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.1",
  "Encoding": "UTF-8",
  "URL": "https://github.com/rje42/rje",
  "BugReports": "https://github.com/rje42/rje/issues",
  "Repository": "https://rje42.r-universe.dev",
  "Date/Publication": "2024-03-29 15:58:59 UTC",
  "RemoteUrl": "https://github.com/rje42/rje",
  "RemoteRef": "HEAD",
  "RemoteSha": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-03 11:58:54 UTC",
    "User": "root"
  },
  "Author": "Robin Evans [aut, cre],\nMathias Drton [ctb]",
  "Maintainer": "Robin Evans <evans@stats.ox.ac.uk>",
  "_user": "rje42",
  "_type": "src",
  "_file": "rje_1.13.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e0a258eebf3ae133e8f110d7419340399bd1d9fc3a0ca34bef8a9682d5edd9f4",
  "_filesize": 308214,
  "_sha256": "e0a258eebf3ae133e8f110d7419340399bd1d9fc3a0ca34bef8a9682d5edd9f4",
  "_expires": "2027-01-11T12:04:54.000Z",
  "_created": "2026-10-03T11:58:54.000Z",
  "_published": "2026-10-03T12:04:56.380Z",
  "_jobs": [
    {
      "job": 111198036896,
      "time": 89,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11273224119"
    },
    {
      "job": 111198036923,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11272984542"
    },
    {
      "job": 111198036876,
      "time": 81,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11273690720"
    },
    {
      "job": 111198036895,
      "time": 100,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11273965015"
    },
    {
      "job": 111198036866,
      "time": 213,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11272844938"
    },
    {
      "job": 111198036970,
      "time": 318,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11273426505"
    },
    {
      "job": 111198036842,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11273785604"
    },
    {
      "job": 111198036901,
      "time": 224,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11273184395"
    },
    {
      "job": 111197625832,
      "time": 167,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11273079257"
    },
    {
      "job": 111198036856,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11273870247"
    },
    {
      "job": 111198036920,
      "time": 322,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11272954852"
    },
    {
      "job": 111198036889,
      "time": 110,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11273740705"
    },
    {
      "job": 111198036944,
      "time": 69,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11273224087"
    },
    {
      "job": 111198036998,
      "time": 328,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11272972343"
    },
    {
      "job": 111198036906,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11273486152"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659",
  "_status": "success",
  "_upstream": "https://github.com/rje42/rje",
  "_commit": {
    "id": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
    "author": "Robin Evans <evans@stats.ox.ac.uk>",
    "committer": "Robin Evans <evans@stats.ox.ac.uk>",
    "message": "Merge branch 'master' of github.com:rje42/rje\n",
    "time": 1711727939
  },
  "_maintainer": {
    "name": "Robin Evans",
    "email": "evans@stats.ox.ac.uk",
    "login": "rje42",
    "description": "",
    "uuid": 5120639
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.0.0",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "rje42",
  "_selfowned": true,
  "_usedby": 16,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rje42",
      "count": 51,
      "uuid": 5120639
    }
  ],
  "_userbio": {
    "uuid": 5120639,
    "type": "user",
    "name": "Robin Evans",
    "followers": 23
  },
  "_downloads": {
    "count": 1215,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rje"
  },
  "_devurl": "https://github.com/rje42/rje",
  "_searchresults": 268,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rje.html"
  ],
  "_homeurl": "https://github.com/rje42/rje",
  "_realowner": "rje42",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2011-07-23"
    },
    {
      "version": "1.1",
      "date": "2011-11-21"
    },
    {
      "version": "1.2",
      "date": "2012-01-06"
    },
    {
      "version": "1.3",
      "date": "2013-03-15"
    },
    {
      "version": "1.4",
      "date": "2013-05-17"
    },
    {
      "version": "1.5",
      "date": "2013-05-18"
    },
    {
      "version": "1.6",
      "date": "2013-06-30"
    },
    {
      "version": "1.7",
      "date": "2014-02-10"
    },
    {
      "version": "1.9",
      "date": "2014-08-06"
    },
    {
      "version": "1.10.10",
      "date": "2019-08-28"
    },
    {
      "version": "1.10.13",
      "date": "2020-01-12"
    },
    {
      "version": "1.10.15",
      "date": "2020-03-04"
    },
    {
      "version": "1.10.16",
      "date": "2020-06-10"
    },
    {
      "version": "1.11.0",
      "date": "2022-06-08"
    },
    {
      "version": "1.12.0",
      "date": "2022-11-09"
    },
    {
      "version": "1.12.1",
      "date": "2022-11-12"
    }
  ],
  "_exports": [
    "%subof%",
    "and0",
    "armijo",
    "coarseLine",
    "combinations",
    "condition.table",
    "condition.table2",
    "conditionMatrix",
    "conditionTable",
    "conditionTable2",
    "cubeHelix",
    "ddirichlet",
    "designMatrix",
    "expit",
    "fastHadamard",
    "fastMobius",
    "fsapply",
    "greaterThan",
    "inclusionMax",
    "indexBox",
    "int2set",
    "intervention.table",
    "interventionMatrix",
    "interventionTable",
    "invMobius",
    "is.subset",
    "is.wholenumber",
    "kronPower",
    "last",
    "logit",
    "marginMatrix",
    "marginTable",
    "or0",
    "patternRepeat",
    "patternRepeat0",
    "powerSet",
    "powerSetCond",
    "powerSetMat",
    "printCount",
    "printPercentage",
    "propTable",
    "quickSort",
    "rdirichlet",
    "rowMaxs",
    "rowMins",
    "rprobdist",
    "schur",
    "set2int",
    "setmatch",
    "sets_nested",
    "setsetdiff",
    "setsetequal",
    "subarray",
    "subarray<-",
    "subsetmatch",
    "subsetMatrix",
    "subsetOrder",
    "subtable",
    "subtable<-",
    "supersetmatch"
  ],
  "_help": [
    {
      "page": "and0",
      "title": "Fast pairwise logical operators",
      "topics": [
        "and0",
        "or0"
      ]
    },
    {
      "page": "armijo",
      "title": "Generic functions to aid finding local minima given search direction",
      "topics": [
        "armijo",
        "coarseLine"
      ]
    },
    {
      "page": "combinations",
      "title": "Combinations of Integers",
      "topics": [
        "combinations",
        "powerSetMat"
      ]
    },
    {
      "page": "conditionTable",
      "title": "Find conditional probability table",
      "topics": [
        "condition.table",
        "condition.table2",
        "conditionMatrix",
        "conditionTable",
        "conditionTable2"
      ]
    },
    {
      "page": "cubeHelix",
      "title": "Cube Helix colour palette",
      "topics": [
        "cubeHelix"
      ]
    },
    {
      "page": "designMatrix",
      "title": "Orthogonal Design Matrix",
      "topics": [
        "designMatrix"
      ]
    },
    {
      "page": "Dirichlet",
      "title": "The Dirichlet Distribution",
      "topics": [
        "ddirichlet",
        "Dirichlet",
        "rdirichlet"
      ]
    },
    {
      "page": "expit",
      "title": "Expit and Logit.",
      "topics": [
        "expit",
        "logit"
      ]
    },
    {
      "page": "fastHadamard",
      "title": "Compute fast Hadamard-transform of vector",
      "topics": [
        "fastHadamard"
      ]
    },
    {
      "page": "fastMobius",
      "title": "Fast Moebius and inverse Moebius transforms",
      "topics": [
        "fastMobius",
        "invMobius"
      ]
    },
    {
      "page": "fsapply",
      "title": "Fast and loose application of function over list.",
      "topics": [
        "fsapply"
      ]
    },
    {
      "page": "greaterThan",
      "title": "Comparing numerical values",
      "topics": [
        "greaterThan"
      ]
    },
    {
      "page": "inclusionMax",
      "title": "Get inclusion maximal subsets from a list",
      "topics": [
        "inclusionMax"
      ]
    },
    {
      "page": "indexBox",
      "title": "Get indices of adjacent entries in array",
      "topics": [
        "indexBox"
      ]
    },
    {
      "page": "int2set",
      "title": "Alternate between sets and integers representing sets of integers via bits",
      "topics": [
        "int2set",
        "set2int"
      ]
    },
    {
      "page": "interventionTable",
      "title": "Calculate interventional distributions.",
      "topics": [
        "intervention.table",
        "interventionMatrix",
        "interventionTable"
      ]
    },
    {
      "page": "is.subset",
      "title": "Check subset inclusion",
      "topics": [
        "%subof%",
        "is.subset"
      ]
    },
    {
      "page": "is.wholenumber",
      "title": "Determine whether number is integral or not.",
      "topics": [
        "is.wholenumber"
      ]
    },
    {
      "page": "kronPower",
      "title": "Kronecker power of a matrix or vector",
      "topics": [
        "kronPower"
      ]
    },
    {
      "page": "last",
      "title": "Last element of a vector or list",
      "topics": [
        "last"
      ]
    },
    {
      "page": "marginTable",
      "title": "Compute margin of a table faster",
      "topics": [
        "marginMatrix",
        "marginTable",
        "propTable"
      ]
    },
    {
      "page": "match_rows",
      "title": "Match rows in a matrix with duplicates to set of unique values",
      "topics": [
        "match_rows"
      ]
    },
    {
      "page": "patternRepeat",
      "title": "Complex repetitions",
      "topics": [
        "patternRepeat",
        "patternRepeat0"
      ]
    },
    {
      "page": "powerSet",
      "title": "Power Set",
      "topics": [
        "powerSet",
        "powerSetCond"
      ]
    },
    {
      "page": "printPercentage",
      "title": "Print Percentage of Activity Completed to stdout",
      "topics": [
        "printCount",
        "printPercentage"
      ]
    },
    {
      "page": "quickSort",
      "title": "Quicksort for Partial Orderings",
      "topics": [
        "quickSort"
      ]
    },
    {
      "page": "rowMins",
      "title": "Row-wise minima and maxima",
      "topics": [
        "rowMaxs",
        "rowMins"
      ]
    },
    {
      "page": "rprobdist",
      "title": "Generate a joint (or conditional) probability distribution",
      "topics": [
        "rprobdist"
      ]
    },
    {
      "page": "schur",
      "title": "Obtain generalized Schur complement",
      "topics": [
        "schur"
      ]
    },
    {
      "page": "setmatch",
      "title": "Set Operations",
      "topics": [
        "setmatch",
        "setsetdiff",
        "setsetequal",
        "subsetmatch",
        "supersetmatch"
      ]
    },
    {
      "page": "sets_nested",
      "title": "Check list of sets is nested",
      "topics": [
        "sets_nested"
      ]
    },
    {
      "page": "subsetMatrix",
      "title": "Matrix of Subset Indicators",
      "topics": [
        "subsetMatrix"
      ]
    },
    {
      "page": "subsetOrder",
      "title": "Compare sets for inclusion.",
      "topics": [
        "subsetOrder"
      ]
    },
    {
      "page": "subtable",
      "title": "Subset an array",
      "topics": [
        "subarray",
        "subarray<-",
        "subtable",
        "subtable<-"
      ]
    }
  ],
  "_readme": "https://github.com/rje42/rje/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "conditional_distributions.Rmd",
      "filename": "conditional_distributions.html",
      "title": "Manipulating Discrete Joint Distributions",
      "author": "Robin Evans",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Marginal and Conditional Distributions",
        "Interventions",
        "Multiple distributions",
        "Reconstructing Joint Distributions",
        "Example"
      ],
      "created": "2019-08-26 11:13:56",
      "modified": "2020-03-03 21:09:39",
      "commits": 2
    }
  ],
  "_score": 6.892922313674726,
  "_indexed": true,
  "_nocasepkg": "rje",
  "_universes": [
    "rje42"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.13.0",
      "date": "2026-10-03T12:00:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/a0d88935bcb949bb9146406e6b7f099000d874094ab17b6c866cfcab33010950",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.13.0",
      "date": "2026-10-03T12:00:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/86f8a67ad35bc4226ba378bfe0d9131a0e440e3aadb68ee66e2bb70de82d69c3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.13.0",
      "date": "2026-10-03T12:00:20.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/e9db46b24b77e7761a52a8fad29a2c593a611c590c1206e0ae44cf375663b4e8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.13.0",
      "date": "2026-10-03T12:00:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/7280b9616933e32711d57968ac4a16b223a7adf93a977d9fc9be45f51f41572b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.13.0",
      "date": "2026-10-03T12:01:55.000Z",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/61bd11da61f16f8343e6855eb1012b2ec8a239752c4ba8aba69c943edd08e63f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.13.0",
      "date": "2026-10-03T12:03:32.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/e67a057b4b2636d0b28e1bb660dd9ceb6443db0303f7475f1c31153d3db5deab",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.13.0",
      "date": "2026-10-03T12:00:51.000Z",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/b4e886fa8d267e62942750a1afd1c0169264b96b38152450d74eaa257956a775",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.13.0",
      "date": "2026-10-03T12:01:51.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/46b016f4d3b9cd139c5f564aa3948e2c7d565d8921672d4b5fbb4859dca6381f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.13.0",
      "date": "2026-10-03T12:00:26.000Z",
      "arch": "emscripten",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/6d829192fa51f19126dc6284603bb8353352766340468b01cddc2b08bd8244a1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.13.0",
      "date": "2026-10-03T12:03:44.000Z",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/2cea809c2932fd940e7d12c91bb53f1cdcb94d4e7113112d30cc92a6a1168338",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.13.0",
      "date": "2026-10-03T11:59:58.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/8832dac41cae1b650899856a10ce99ecf8a1a83561cfd59edab4db7eb63cc31f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.13.0",
      "date": "2026-10-03T11:59:55.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/7e0824dbec29e6b923d4b39b47ae1becf5640d59f8bb08078c75937573ffcc6f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.13.0",
      "date": "2026-10-03T12:03:41.000Z",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/b059b9fce705605f64ad33ce6819bd4b8073c13a5c57cd2135640718bc815323",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.13.0",
      "date": "2026-10-03T12:00:14.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "https://r2.ropensci.org/923f6da37d3e876c598e38d868f4a0efbc499801091c3a76c51e374b8a63cdfb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/37121226659"
    }
  ]
}