{
  "_id": "6a212a55cd65a98ecbd22900",
  "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-06-04 07:30:00 UTC",
    "User": "root"
  },
  "Author": "Robin Evans [aut, cre]",
  "Maintainer": "Robin Evans <evans@stats.ox.ac.uk>",
  "MD5sum": "212be0122099c2756a554c85368df406",
  "_user": "rje42",
  "_type": "src",
  "_file": "contingency_0.1.0.tar.gz",
  "_fileid": "3f3f447066151bb4dc880394abb251a5b71d7e0b5798659111588c98e5b83667",
  "_filesize": 167664,
  "_sha256": "3f3f447066151bb4dc880394abb251a5b71d7e0b5798659111588c98e5b83667",
  "_created": "2026-06-04T07:30:00.000Z",
  "_published": "2026-06-04T07:33:41.565Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79470734625,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7405554082"
    },
    {
      "job": 79470734661,
      "time": 97,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7405549378"
    },
    {
      "job": 79470734588,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7405573803"
    },
    {
      "job": 79470734555,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7405575044"
    },
    {
      "job": 79470310787,
      "time": 176,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405519924"
    },
    {
      "job": 79470734391,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405556306"
    },
    {
      "job": 79470734650,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7405541224"
    },
    {
      "job": 79470734565,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7405540466"
    },
    {
      "job": 79470734517,
      "time": 67,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7405539929"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_downloads": {
    "count": 172,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contingency"
  },
  "_devurl": "https://github.com/rje42/contingency",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/contingency.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-06-04T07:31:59.000Z",
      "distro": "noble",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "547447a6fe1c4e5879d8c6ae4f498a05710d16bbc17e42a737dc2f6f01f69383",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-04T07:31:45.000Z",
      "distro": "noble",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "5a4192e31ff87b3a84d26a5a6cfecf6e48beaa02eb4d0456117afb6132830a15",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-04T07:33:07.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "f1432e0800ac8f6d0ff5f81e7f9a240a475c50d1a17990045f8d603eb35dffc2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-04T07:33:11.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "67c75fb3732c214692bd6ff2e48ded19a452f0a9d72c26e7eaeb83a88131c7ec",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-04T07:32:18.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "d6a873b4728b0ec6956b9e029b3533a29f24abb432b6a9f7f2cc38dcd4b970a7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-04T07:31:11.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "5fd9468bfb3ba6d123c51090bca8f8a6b28c9774285ac306f0deb89ac1872129",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-04T07:31:06.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "f125cbd6523ee9273bee836d82c47aca002a261e53fd61e4172090f54bb70c65",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-04T07:31:07.000Z",
      "commit": "a0ffd9221cd674e6d6a91cc2536e988dea34f7b6",
      "fileid": "d8b7b6df68e876eaa3b210670535ce4e9e9ab1119189f61677b6116cd7c3c2af",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rje42/actions/runs/26937378765"
    }
  ]
}