{
  "_id": "6aca835bfe5cc25786e8a99c",
  "Package": "contingency",
  "Title": "Discrete Multivariate Probability Distributions",
  "Version": "0.1.0",
  "Authors@R": "person(\"Robin\", \"Evans\", email = \"evans@stats.ox.ac.uk\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Provides an object class for dealing with many\nmultivariate probability distributions at once, useful for\nsimulation.",
  "License": "GPL-2",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/rje42/contingency",
  "BugReports": "https://github.com/rje42/contingency/issues",
  "Repository": "https://rje42.r-universe.dev",
  "Date/Publication": "2024-09-06 10:37:57 UTC",
  "RemoteUrl": "https://github.com/rje42/contingency",
  "RemoteRef": "HEAD",
  "RemoteSha": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 17:26:54 UTC",
    "User": "root"
  },
  "Author": "Robin Evans [aut, cre]",
  "Maintainer": "Robin Evans <evans@stats.ox.ac.uk>",
  "_user": "rje42",
  "_type": "src",
  "_file": "contingency_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/98904a22ca43fcddb192ad56a9e960183e595238ef01bd6e14aa5c6cb1889dfa",
  "_filesize": 167173,
  "_sha256": "98904a22ca43fcddb192ad56a9e960183e595238ef01bd6e14aa5c6cb1889dfa",
  "_expires": "2027-01-18T18:26:34.000Z",
  "_created": "2026-10-10T17:26:54.000Z",
  "_published": "2026-10-10T18:26:35.768Z",
  "_buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114270514849,
      "time": 106,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11676868200"
    },
    {
      "job": 114270514767,
      "time": 97,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11677290520"
    },
    {
      "job": 114270514673,
      "time": 77,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11678490284"
    },
    {
      "job": 114270514757,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11678324377"
    },
    {
      "job": 114269981722,
      "time": 155,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676414885"
    },
    {
      "job": 114270514717,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11677097899"
    },
    {
      "job": 114270514702,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11677172725"
    },
    {
      "job": 114270514825,
      "time": 68,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11677112760"
    },
    {
      "job": 114270514664,
      "time": 64,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11676733291"
    }
  ],
  "_upstream": "https://github.com/rje42/contingency",
  "_commit": {
    "id": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
    "author": "Robin Evans <evans@stats.ox.ac.uk>",
    "committer": "Robin Evans <evans@stats.ox.ac.uk>",
    "message": "Added option to have tables 'reversed' (so index for table is at the end)\n",
    "time": 1725619077
  },
  "_maintainer": {
    "name": "Robin Evans",
    "email": "evans@stats.ox.ac.uk",
    "login": "rje42",
    "description": "",
    "uuid": 5120639
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "rje",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "rje42",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rje42",
      "count": 22,
      "uuid": 5120639
    }
  ],
  "_userbio": {
    "uuid": 5120639,
    "type": "user",
    "name": "Robin Evans",
    "followers": 23
  },
  "_downloads": {
    "count": 334,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contingency"
  },
  "_devurl": "https://github.com/rje42/contingency",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/contingency.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/rje42/contingency",
  "_realowner": "rje42",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.6",
      "date": "2021-01-29"
    },
    {
      "version": "0.0.9",
      "date": "2022-11-15"
    },
    {
      "version": "0.0.10",
      "date": "2022-11-18"
    }
  ],
  "_exports": [
    "as_tables",
    "capply",
    "checkCI",
    "conditional",
    "conditional2",
    "dtab_dir",
    "entropy",
    "interactionInf",
    "intervention",
    "is_rev",
    "is_tables",
    "kl",
    "margin",
    "margin2",
    "multiInf",
    "mutualInf",
    "ntables",
    "perm_dim",
    "rcondProbMat",
    "repTables",
    "rprobMat",
    "rtab_dir",
    "tables",
    "tbind",
    "tdim",
    "tdim<-",
    "tdimnames",
    "tdimnames<-"
  ],
  "_help": [
    {
      "page": "sub-.tables",
      "title": "Subset object of class tables",
      "topics": [
        "[.tables"
      ]
    },
    {
      "page": "aperm.tables",
      "title": "Permute dimensions of tables",
      "topics": [
        "aperm.tables"
      ]
    },
    {
      "page": "as_tables",
      "title": "As tables",
      "topics": [
        "as_tables"
      ]
    },
    {
      "page": "as.array.tables",
      "title": "Convert tables into array",
      "topics": [
        "as.array.tables"
      ]
    },
    {
      "page": "as.matrix.tables",
      "title": "Convert tables into matrix",
      "topics": [
        "as.matrix.tables"
      ]
    },
    {
      "page": "capply",
      "title": "Apply function over tables",
      "topics": [
        "capply"
      ]
    },
    {
      "page": "checkCI",
      "title": "Check conditional independence",
      "topics": [
        "checkCI",
        "checkCI.array",
        "checkCI.tables"
      ]
    },
    {
      "page": "entropy",
      "title": "Calculate entropy of discrete distribution",
      "topics": [
        "entropy",
        "entropy.array",
        "entropy.default",
        "entropy.tables"
      ]
    },
    {
      "page": "interactionInf",
      "title": "Interaction information",
      "topics": [
        "interactionInf",
        "interactionInf.default"
      ]
    },
    {
      "page": "is_rev",
      "title": "Test if tables object is reversed",
      "topics": [
        "is_rev"
      ]
    },
    {
      "page": "is_tables",
      "title": "Test object is a collection of tables",
      "topics": [
        "is_tables"
      ]
    },
    {
      "page": "kl",
      "title": "Kullback-Leibler Divergence",
      "topics": [
        "kl",
        "kl.default",
        "kl.tables"
      ]
    },
    {
      "page": "margin",
      "title": "Get margin of a table or tables",
      "topics": [
        "conditional",
        "conditional2",
        "intervention",
        "margin",
        "margin2"
      ]
    },
    {
      "page": "margin.tables",
      "title": "Get the marginal distributions",
      "topics": [
        "conditional.tables",
        "conditional2.tables",
        "intervention.tables",
        "margin.tables"
      ]
    },
    {
      "page": "multiInf",
      "title": "Multiinformation",
      "topics": [
        "multiInf",
        "multiInf.default",
        "multiInf.tables"
      ]
    },
    {
      "page": "mutualInf",
      "title": "(Conditional) mutual information",
      "topics": [
        "mutualInf",
        "mutualInf.default",
        "mutualInf.tables"
      ]
    },
    {
      "page": "ntables",
      "title": "Number of tables",
      "topics": [
        "ntables"
      ]
    },
    {
      "page": "perm_dim",
      "title": "Permute indices for variable 'k'",
      "topics": [
        "perm_dim"
      ]
    },
    {
      "page": "print.tables",
      "title": "Print tables",
      "topics": [
        "print.tables"
      ]
    },
    {
      "page": "repTables",
      "title": "Turn distributions into tables",
      "topics": [
        "repTables"
      ]
    },
    {
      "page": "rprobMat",
      "title": "Generate matrix of (conditional) probability distributions",
      "topics": [
        "rcondProbMat",
        "rprobMat"
      ]
    },
    {
      "page": "tab_dir",
      "title": "Wrappers for Dirichlet distribution over a table",
      "topics": [
        "dtab_dir",
        "rtab_dir",
        "tab_dir"
      ]
    },
    {
      "page": "tables",
      "title": "Create blank tables",
      "topics": [
        "tables"
      ]
    },
    {
      "page": "tbind",
      "title": "Bind tables of the same dimension",
      "topics": [
        "tbind"
      ]
    },
    {
      "page": "tdim",
      "title": "Dimension of distributions over contingency tables",
      "topics": [
        "tdim",
        "tdim<-"
      ]
    },
    {
      "page": "tdimnames",
      "title": "Dimension names for distributions over contingency tables",
      "topics": [
        "tdimnames",
        "tdimnames<-"
      ]
    }
  ],
  "_readme": "https://github.com/rje42/contingency/raw/HEAD/README.md",
  "_rundeps": [
    "rje"
  ],
  "_vignettes": [
    {
      "source": "tables.Rmd",
      "filename": "tables.html",
      "title": "Tables",
      "author": "Robin J. Evans",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic numerical manipulations",
        "Functions of Distributions"
      ],
      "created": "2016-08-28 15:12:25",
      "modified": "2024-06-05 15:54:15",
      "commits": 5
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "contingency",
  "_universes": [
    "rje42"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-10T17:28:44.000Z",
      "distro": "resolute",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "https://r2.ropensci.org/4b70ba05dbc20c58c6ecedcc8510d5c9feab1ae5af0230a9297341007c3a0e37",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-10T17:28:39.000Z",
      "distro": "resolute",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "https://r2.ropensci.org/233c543258539d8ff45715d245a5d31ce48741629a6719e60a2f31a1ff5a2afc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-10T18:24:34.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "https://r2.ropensci.org/b47f182f2beed1f2f0860ec6e17f9578b0344de3cea242052afad784d228080b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-10T18:26:01.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "https://r2.ropensci.org/00a78c0d32a1edf8fb43fb4fde09b1751f2165b7c365bcba46b05e403b3c5922",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-10T17:28:36.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "https://r2.ropensci.org/a3b148983e1e0f3ff5ffe7069fbb96dcec0f24c6220682b1ef09c21a8baf9fbe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T17:28:06.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "https://r2.ropensci.org/18ac266cf43861b22a9ee6afa601330470fa53bbe283e7af10d6815eb2d6dd79",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T17:28:05.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "https://r2.ropensci.org/cc63c0d0fd91b27eb681282005e68c7583596f185537ef64ab80e04bdca087c3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T17:27:59.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "https://r2.ropensci.org/c1ef7d86b870b3b45e821185765711b7ff4ed3ba44a23750ff0104f3c52e516b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/38071587655"
    }
  ]
}