{
  "_id": "6a15370aacfb0bcc41d4f894",
  "Package": "xactonomial",
  "Type": "Package",
  "Title": "Inference for Functions of Multinomial Parameters",
  "Version": "1.2.0",
  "Date": "2025-07-30",
  "Authors@R": "c(person(given = \"Michael C\",\nfamily = \"Sachs\",\nrole = c(\"aut\", \"cre\"),\nemail = \"sachsmc@gmail.com\"),\nperson(given = \"Michael P\",\nfamily = \"Fay\", role = c(\"aut\")),\nperson(given = \"Erin E\",\nfamily = \"Gabriel\", role = c(\"aut\")),\nperson(given = \"David B\",\nfamily = \"Dahl\", role = \"ctb\", comment = \"(rbindings.rs)\"))",
  "URL": "https://sachsmc.github.io/xactonomial/",
  "BugReports": "https://github.com/sachsmc/xactonomial/issues/",
  "Description": "We consider the problem where we observe k vectors\n(possibly of different lengths), each representing an\nindependent multinomial random vector. For a given function\nthat takes in the concatenated vector of multinomial\nprobabilities and outputs a real number, this is a Monte Carlo\nestimation procedure of an exact p-value and confidence\ninterval. The resulting inference is valid even in small\nsamples, when the parameter is on the boundary, and when the\nfunction is not differentiable at the parameter value, all\nsituations where asymptotic methods and the bootstrap would\nfail. For more details see Sachs, Fay, and Gabriel (2025)\n<doi:10.48550/arXiv.2406.19141>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "SystemRequirements": "Cargo (Rust's package manager), rustc >= 1.70",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Config/rextendr/version": "0.3.1.9001",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libclang-dev",
  "Repository": "https://sachsmc.r-universe.dev",
  "Date/Publication": "2025-07-30 07:43:53 UTC",
  "RemoteUrl": "https://github.com/sachsmc/xactonomial",
  "RemoteRef": "HEAD",
  "RemoteSha": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-26 05:52:54 UTC",
    "User": "root"
  },
  "Author": "Michael C Sachs [aut, cre],\nMichael P Fay [aut],\nErin E Gabriel [aut],\nDavid B Dahl [ctb] ((rbindings.rs))",
  "Maintainer": "Michael C Sachs <sachsmc@gmail.com>",
  "MD5sum": "3233535d53ea5c2abd5efffd3d65476a",
  "_user": "sachsmc",
  "_type": "src",
  "_file": "xactonomial_1.2.0.tar.gz",
  "_fileid": "1e9c3b175869f3f7dd47d90652439393f541f826df765fa5e6d2446119d2f7d7",
  "_filesize": 790457,
  "_sha256": "1e9c3b175869f3f7dd47d90652439393f541f826df765fa5e6d2446119d2f7d7",
  "_created": "2026-05-26T05:52:54.000Z",
  "_published": "2026-05-26T06:00:42.111Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77815570442,
      "time": 156,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7209870003"
    },
    {
      "job": 77815570418,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7209874563"
    },
    {
      "job": 77815570444,
      "time": 150,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7209868695"
    },
    {
      "job": 77815570449,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7209867751"
    },
    {
      "job": 77815570451,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7209857144"
    },
    {
      "job": 77815570512,
      "time": 396,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7209918970"
    },
    {
      "job": 77815570445,
      "time": 95,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7209858324"
    },
    {
      "job": 77815570452,
      "time": 244,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7209888847"
    },
    {
      "job": 77815193955,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7209838952"
    },
    {
      "job": 77815570433,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 77815570507,
      "time": 235,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7209887010"
    },
    {
      "job": 77815570426,
      "time": 156,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7209870198"
    },
    {
      "job": 77815570422,
      "time": 177,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7209874438"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sachsmc/xactonomial",
  "_commit": {
    "id": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
    "author": "Michael Sachs <sachsmc@gmail.com>",
    "committer": "Michael Sachs <sachsmc@gmail.com>",
    "message": "site\n",
    "time": 1753861433
  },
  "_maintainer": {
    "name": "Michael C Sachs",
    "email": "sachsmc@gmail.com",
    "login": "sachsmc",
    "linkedin": "in/michael-sachs-09324659",
    "description": "",
    "uuid": 5464185
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "sachsmc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 5
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "sachsmc",
      "count": 54,
      "uuid": 5464185
    }
  ],
  "_userbio": {
    "uuid": 5464185,
    "type": "user",
    "name": "Michael Sachs"
  },
  "_downloads": {
    "count": 143,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xactonomial"
  },
  "_devurl": "https://github.com/sachsmc/xactonomial",
  "_pkgdown": "https://sachsmc.github.io/xactonomial/",
  "_searchresults": 8,
  "_cargo": true,
  "_topics": [
    "rust",
    "cargo"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/xactonomial.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sachsmc/xactonomial",
  "_realowner": "sachsmc",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2025-04-28"
    },
    {
      "version": "1.2.0",
      "date": "2025-08-01"
    }
  ],
  "_exports": [
    "calc_multinom_probs",
    "calc_prob_null",
    "calc_prob_null_fast",
    "calc_prob_null_gradient",
    "combinate",
    "combinate2",
    "itp_root",
    "log_multinom_coef",
    "pvalue_psi0",
    "rdirich_dk_vects",
    "runif_dk_vects",
    "sample_unit_simplexn",
    "sspace_multinom",
    "sspace_multinom_slow",
    "xactonomial"
  ],
  "_help": [
    {
      "page": "calc_multinom_probs",
      "title": "Calculate multinomial probabilities",
      "topics": [
        "calc_multinom_probs"
      ]
    },
    {
      "page": "calc_prob_null",
      "title": "Calculate probability for given parameters",
      "topics": [
        "calc_prob_null"
      ]
    },
    {
      "page": "calc_prob_null_fast",
      "title": "Calculate probability for given parameters",
      "topics": [
        "calc_prob_null_fast"
      ]
    },
    {
      "page": "calc_prob_null_gradient",
      "title": "Gradient of the multinomial likelihood sum",
      "topics": [
        "calc_prob_null_gradient"
      ]
    },
    {
      "page": "combinate",
      "title": "Arrange all combinations of rows of two matrices",
      "topics": [
        "combinate"
      ]
    },
    {
      "page": "combinate2",
      "title": "Like combinate but adds on to previous call",
      "topics": [
        "combinate2"
      ]
    },
    {
      "page": "itp_root",
      "title": "Find a univariate root of the function f",
      "topics": [
        "itp_root"
      ]
    },
    {
      "page": "log_multinom_coef",
      "title": "Calculate log of multinomial coefficient",
      "topics": [
        "log_multinom_coef"
      ]
    },
    {
      "page": "pvalue_psi0",
      "title": "Compute a p value for the test of psi <= psi0 and/or psi >= psi0",
      "topics": [
        "pvalue_psi0"
      ]
    },
    {
      "page": "rdirich_dk_vects",
      "title": "Sample independently from Dirichlet distributions for each of d_k vectors",
      "topics": [
        "rdirich_dk_vects"
      ]
    },
    {
      "page": "runif_dk_vects",
      "title": "Sample uniformly and independently from d_k simplices",
      "topics": [
        "runif_dk_vects"
      ]
    },
    {
      "page": "sample_unit_simplexn",
      "title": "Sample n times from the unit simplex in d dimensions",
      "topics": [
        "sample_unit_simplexn"
      ]
    },
    {
      "page": "sspace_multinom",
      "title": "Enumerate the multinomial sample space",
      "topics": [
        "sspace_multinom"
      ]
    },
    {
      "page": "sspace_multinom_slow",
      "title": "Enumerate the sample space of a multinomial",
      "topics": [
        "sspace_multinom_slow"
      ]
    },
    {
      "page": "xactonomial",
      "title": "Improved inference for a real-valued function of multinomial parameters",
      "topics": [
        "xactonomial"
      ]
    }
  ],
  "_readme": "https://github.com/sachsmc/xactonomial/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "example.Rmd",
      "filename": "example.html",
      "title": "Basic Examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Maximum of parameters",
        "References"
      ],
      "created": "2024-01-24 14:41:13",
      "modified": "2025-07-08 09:22:42",
      "commits": 19
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "xactonomial",
  "_universes": [
    "sachsmc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-26T05:55:23.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "3907b031b7f264c5f18d2935d6ac70cdf2a65ac150ade7b456367dbf1b796caa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-26T05:55:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "70989fe830137b3fc2f459dec134bffebaae3fce962bf88f15dbcf9112bad403",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-26T05:55:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "9c2efafe695cfdae8415aa9b937291cab5e51cc6e900c1391374088d82b14c2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-26T05:55:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "5a85c0ceb012abc5e0e8c78f166c5b02f62b302729101d384096bea7a5f02a51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-26T05:54:23.000Z",
      "arch": "aarch64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "70c5d76a0bc30ffccfeb741b861b9269d47221a56d0d26d648488290d9842d1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-26T05:57:37.000Z",
      "arch": "x86_64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "fc90425acfde2cfe8a935e9b522fd3dedcb6160516fb169d713b51d30de94e93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-26T05:54:28.000Z",
      "arch": "aarch64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "340bcd861d80e2d21fe7490713dcf74097660b4ef920e5ddec29004f8320aa36",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-26T05:56:04.000Z",
      "arch": "x86_64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "9affc11f35cba0796cb3f75d4d232572903eed64c396b9a26ea9c5dbb204bfa8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-26T05:54:41.000Z",
      "arch": "x86_64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "6857e410b2116de69844da3673f21348a36e2776a3fa1bbcafe9ff88d9c11da2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-26T05:54:20.000Z",
      "arch": "x86_64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "dd9367b0c57ff02c39c3907c5add32fd8b1565efe844c7db3349dedd796c2ded",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-26T05:54:42.000Z",
      "arch": "x86_64",
      "commit": "25095ba91e3db8d31f3a1a0ff20af8812b4c672d",
      "fileid": "23b57d649fcfb2c29c5f12219f672d83aadffd0d3adca315bca23f40cd8ff866",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sachsmc/actions/runs/26434824412"
    }
  ]
}