{
  "_id": "6a1c0b671d7bb097a0a2d373",
  "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-05-31 10:16:05 UTC",
    "User": "root"
  },
  "Author": "Robin Evans [aut, cre],\nMathias Drton [ctb]",
  "Maintainer": "Robin Evans <evans@stats.ox.ac.uk>",
  "MD5sum": "e1352766ec44777c7f41d9a7358229d7",
  "_user": "rje42",
  "_type": "src",
  "_file": "rje_1.13.0.tar.gz",
  "_fileid": "a8af77288f21f08419c81de4fa8d6c2cb71d7cb6162c7482b4b6f6e9bdc8a288",
  "_filesize": 306888,
  "_sha256": "a8af77288f21f08419c81de4fa8d6c2cb71d7cb6162c7482b4b6f6e9bdc8a288",
  "_created": "2026-05-31T10:16:05.000Z",
  "_published": "2026-05-31T10:20:23.392Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78717982245,
      "time": 106,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7315902866"
    },
    {
      "job": 78717982241,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7315907458"
    },
    {
      "job": 78717982249,
      "time": 110,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7315903280"
    },
    {
      "job": 78717982248,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7315904810"
    },
    {
      "job": 78717982243,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7315903637"
    },
    {
      "job": 78717982237,
      "time": 220,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7315912567"
    },
    {
      "job": 78717982244,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7315906355"
    },
    {
      "job": 78717982238,
      "time": 209,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7315910915"
    },
    {
      "job": 78717828282,
      "time": 167,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315891497"
    },
    {
      "job": 78717982234,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315901716"
    },
    {
      "job": 78717982250,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7315901597"
    },
    {
      "job": 78717982239,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7315899270"
    },
    {
      "job": 78717982242,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7315899925"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 15,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rje42",
      "count": 51,
      "uuid": 5120639
    }
  ],
  "_userbio": {
    "uuid": 5120639,
    "type": "user",
    "name": "Robin Evans"
  },
  "_downloads": {
    "count": 772,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rje"
  },
  "_devurl": "https://github.com/rje42/rje",
  "_searchresults": 261,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rje.html",
    "manual.pdf"
  ],
  "_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.7688230254496435,
  "_indexed": true,
  "_nocasepkg": "rje",
  "_universes": [
    "rje42"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.13.0",
      "date": "2026-05-31T10:17:59.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "c36dcb9f54e1d149660fcd0b8deb5af473a660f5277dec2a6f7e314238f0e91a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.13.0",
      "date": "2026-05-31T10:18:40.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "57bce923eff0bb7db750ec4140a3153ed94b7108a5092a07bf0718139f251a21",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.13.0",
      "date": "2026-05-31T10:18:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "478537a76d31fd21bd8a3d1c85f8d913fb7bcd6cdefa0f4bed6820b33db173b8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.13.0",
      "date": "2026-05-31T10:18:15.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "ad992a0a1fd78e44f153fb61dc352de620820da4493a6f122f434c457878b963",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.13.0",
      "date": "2026-05-31T10:18:06.000Z",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "bb027275ee79419f36fe1ea735fb4d33cb6ed97878d1dda38c88886023a85dc0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.13.0",
      "date": "2026-05-31T10:19:23.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "7e88aaecee06f0b42fcbe14fe617780ac3b297bedbe3e9f73da6490eba6493ae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.13.0",
      "date": "2026-05-31T10:18:30.000Z",
      "arch": "aarch64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "30a47d237fa23c98bdb302b45e683f323d2818293544ad01b975db83b0aeb790",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.13.0",
      "date": "2026-05-31T10:19:05.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "b9f35259283b6277cbb4d4e6864de6529525be20c68392d117edf4252fdca2c3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.13.0",
      "date": "2026-05-31T10:18:00.000Z",
      "arch": "emscripten",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "9f3c36fad7dbc3680abbe28e6d4c47abf9fd530d884d82f73fa1932c853c0d9d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.13.0",
      "date": "2026-05-31T10:17:34.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "2c7de0d13d5ca1b46a30671a88538e577dcd7ba1b3ad4b8201169e99b80dd9dc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.13.0",
      "date": "2026-05-31T10:17:14.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "7d50ab65c1c3b1d332f4e815fdc8998957d00a8618ebb276708d34c19f0873a4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.13.0",
      "date": "2026-05-31T10:17:18.000Z",
      "arch": "x86_64",
      "commit": "2cabea75d1f961db2f6e799d21af61e29a2d450b",
      "fileid": "90a9c83ea212de46670f70235acf31ac8f1be35e6da16058d3aa936522382dae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26709814419"
    }
  ]
}