{
  "_id": "6adf2bf038036ff941f13f91",
  "Type": "Package",
  "Package": "XOMultinom",
  "Title": "Exact Distributions of Some Functions of the Ordered Multinomial\nCounts",
  "Version": "0.9.0-2",
  "Date": "2026-07-20",
  "Authors@R": "c(\nperson(\"Sergio\", \"Venturini\", , \"sergio.venturini@unicatt.it\", role = c(\"aut\", \"cre\")),\nperson(\"Marco\", \"Bonetti\", , \"marco.bonetti@unibocconi.it\", role = \"ctb\")\n)",
  "Maintainer": "Sergio Venturini <sergio.venturini@unicatt.it>",
  "Description": "Implements exact algorithms for computing the\ndistributions of the maximum, the minimum, the range, and the\nsum of the J largest order statistics of a multinomial random\nvector. Two complementary algorithm families are provided: the\nrecursive tree-traversal method of Bonetti, Cirillo, and Ogay\n(2019) <doi:10.1098/rsos.190198>, which covers all four\nstatistics under the equiprobable hypothesis; and the\nstochastic matrix method of Corrado (2011)\n<doi:10.1007/s11222-010-9174-3>, which handles the maximum,\nminimum, and range for arbitrary probability vectors. Functions\nfor power evaluation and sample size determination for\ngoodness-of-fit tests based on these order statistics are also\nprovided.  Computationally intensive routines are implemented\nin 'C++' for efficiency.",
  "License": "GPL-3",
  "URL": "https://github.com/sergioventurini/XOMultinom",
  "BugReports": "https://github.com/sergioventurini/XOMultinom/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-26 10:24:22 UTC",
    "User": "root"
  },
  "Author": "Sergio Venturini [aut, cre], Marco Bonetti [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-20 13:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/XOMultinom",
  "RemoteRef": "HEAD",
  "RemoteSha": "797130f05290f3a0264710b3668cff3edaacd132",
  "_user": "cran",
  "_type": "src",
  "_file": "XOMultinom_0.9.0-2.tar.gz",
  "_fileid": "https://r2.ropensci.org/c74a6ee23df32fd905c6183b39969e1361fc6097c9809a3d28228f719fddf494",
  "_filesize": 407040,
  "_sha256": "c74a6ee23df32fd905c6183b39969e1361fc6097c9809a3d28228f719fddf494",
  "_expires": "2027-02-03T10:31:10.000Z",
  "_created": "2026-10-26T10:24:22.000Z",
  "_published": "2026-10-26T10:31:12.413Z",
  "_upstream": "https://github.com/cran/XOMultinom",
  "_status": "success",
  "_maintainer": {
    "name": "Sergio Venturini",
    "email": "sergio.venturini@unicatt.it"
  },
  "_jobs": [
    {
      "job": 121519562360,
      "time": 161,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12643496756"
    },
    {
      "job": 121519562590,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12643720057"
    },
    {
      "job": 121519562472,
      "time": 180,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12643352892"
    },
    {
      "job": 121519562670,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12642707759"
    },
    {
      "job": 121517336301,
      "time": 301,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12642987515"
    },
    {
      "job": 121519562333,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12642034654"
    },
    {
      "job": 121519562546,
      "time": 280,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12642854058"
    },
    {
      "job": 121519562500,
      "time": 156,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12642938560"
    },
    {
      "job": 121519562458,
      "time": 312,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12642254038"
    },
    {
      "job": 121519562486,
      "time": 174,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12643517094"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601",
  "_commit": {
    "id": "797130f05290f3a0264710b3668cff3edaacd132",
    "author": "Sergio Venturini <sergio.venturini@unicatt.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.9.0-2\n",
    "time": 1784552402
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.1",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.8.7",
      "date": "2026-06-01"
    },
    {
      "name": "0.9.0",
      "date": "2026-06-21"
    },
    {
      "name": "0.9.0-2",
      "date": "2026-07-20"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 256,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/XOMultinom"
  },
  "_devurl": "https://github.com/sergioventurini/xomultinom",
  "_searchresults": 0,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/XOMultinom.html"
  ],
  "_homeurl": "https://github.com/sergioventurini/xomultinom",
  "_realowner": "sergioventurini",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.8.7",
      "date": "2026-06-01"
    },
    {
      "version": "0.9.0",
      "date": "2026-06-21"
    },
    {
      "version": "0.9.0-2",
      "date": "2026-07-20"
    }
  ],
  "_exports": [
    "autoplot",
    "dJlargemultinom",
    "dmaxmultinom",
    "dminmultinom",
    "drangemultinom",
    "find_gamma_prob",
    "find_k_alpha",
    "find_k_gamma",
    "Jlargemultinomcdf",
    "make_breaks",
    "max_count",
    "maxmin_multinom_size",
    "maxmultinomcdf",
    "minmultinomcdf",
    "pJlargemultinom",
    "pmaxmultinom",
    "pminmultinom",
    "prangemultinom",
    "qJlargemultinom",
    "qmaxmultinom",
    "qminmultinom",
    "qrangemultinom",
    "rand_test",
    "rangemultinomcdf",
    "rdirichlet",
    "rJlargemultinom",
    "rmaxmultinom",
    "rminmultinom",
    "rrangemultinom"
  ],
  "_datasets": [
    {
      "name": "leukaemia",
      "title": "Data: Leukaemia cases",
      "object": "leukaemia",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "x",
        "y",
        "pop",
        "cases"
      ],
      "rows": 790,
      "table": true,
      "tojson": true
    },
    {
      "name": "mainsail",
      "title": "MAINSAIL trial: comparator-arm data with Halabi 2014 risk scores",
      "object": "mainsail",
      "class": [
        "data.frame"
      ],
      "fields": [
        "RPT",
        "ENROLLDAY",
        "entry_order",
        "ecog",
        "disease_site",
        "has_ln",
        "has_bone",
        "has_visceral",
        "opioid",
        "ldh",
        "ldh_uln",
        "ldh_gt_uln",
        "albumin",
        "hgb",
        "psa",
        "alp",
        "ln_psa",
        "ln_alp",
        "halabi2014_lp",
        "halabi2014_lp_raw",
        "halabi2014_lp_imputed"
      ],
      "rows": 520,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "XOMultinom-package",
      "title": "XOMultinom: Exact distributions of ordered multinomial counts",
      "topics": [
        "XOMultinom-package",
        "XOMultinom",
        "XOMultinom-pkg"
      ]
    },
    {
      "page": "as.data.frame.xomultinom_dist",
      "title": "Coerce an 'xomultinom_dist' object to a data frame",
      "topics": [
        "as.data.frame.xomultinom_dist"
      ]
    },
    {
      "page": "as.data.frame.xomultinom_size",
      "title": "Coerce an 'xomultinom_size' object to a data frame",
      "topics": [
        "as.data.frame.xomultinom_size"
      ]
    },
    {
      "page": "autoplot.xomultinom_dist",
      "title": "ggplot2-based plot for 'xomultinom_dist' objects",
      "topics": [
        "autoplot.xomultinom_dist"
      ]
    },
    {
      "page": "autoplot.xomultinom_size",
      "title": "ggplot2-based plot for 'xomultinom_size' objects",
      "topics": [
        "autoplot.xomultinom_size"
      ]
    },
    {
      "page": "dJlargemultinom",
      "title": "PMF of the sum of the J largest multinomial order statistics at specified points",
      "topics": [
        "dJlargemultinom"
      ]
    },
    {
      "page": "dmaxmultinom",
      "title": "PMF of the multinomial maximum at specified points",
      "topics": [
        "dmaxmultinom"
      ]
    },
    {
      "page": "dminmultinom",
      "title": "PMF of the multinomial minimum at specified points",
      "topics": [
        "dminmultinom"
      ]
    },
    {
      "page": "drangemultinom",
      "title": "PMF of the multinomial range at specified points",
      "topics": [
        "drangemultinom"
      ]
    },
    {
      "page": "find_gamma_prob",
      "title": "Randomization probability for max/min multinomial tests",
      "topics": [
        "find_gamma_prob"
      ]
    },
    {
      "page": "find_k_alpha",
      "title": "Critical value for max/min multinomial tests",
      "topics": [
        "find_k_alpha"
      ]
    },
    {
      "page": "find_k_gamma",
      "title": "Critical value and randomization probability for max/min tests",
      "topics": [
        "find_k_gamma"
      ]
    },
    {
      "page": "Jlargemultinomcdf",
      "title": "Distribution object for the sum of the J largest multinomial order statistics",
      "topics": [
        "Jlargemultinomcdf"
      ]
    },
    {
      "page": "leukaemia",
      "title": "Data: Leukaemia cases",
      "topics": [
        "leukaemia"
      ]
    },
    {
      "page": "mainsail",
      "title": "MAINSAIL trial: comparator-arm data with Halabi 2014 risk scores",
      "topics": [
        "mainsail"
      ]
    },
    {
      "page": "make_breaks",
      "title": "Create quantile-based break points",
      "topics": [
        "make_breaks"
      ]
    },
    {
      "page": "max_count",
      "title": "Compute the largest bin count",
      "topics": [
        "max_count"
      ]
    },
    {
      "page": "maxmin_multinom_size",
      "title": "Sample size determination for multinomial max/min tests",
      "topics": [
        "maxmin_multinom_size"
      ]
    },
    {
      "page": "maxmultinomcdf",
      "title": "Distribution object for the multinomial maximum count",
      "topics": [
        "maxmultinomcdf"
      ]
    },
    {
      "page": "minmultinomcdf",
      "title": "Distribution object for the multinomial minimum count",
      "topics": [
        "minmultinomcdf"
      ]
    },
    {
      "page": "pJlargemultinom",
      "title": "CDF of the sum of J largest order statistics for a multinomial distribution evaluated at specified points",
      "topics": [
        "pJlargemultinom"
      ]
    },
    {
      "page": "plot.xomultinom_dist",
      "title": "Plot method for 'xomultinom_dist' objects",
      "topics": [
        "plot.xomultinom_dist"
      ]
    },
    {
      "page": "plot.xomultinom_size",
      "title": "Plot method for 'xomultinom_size' objects",
      "topics": [
        "plot.xomultinom_size"
      ]
    },
    {
      "page": "pmaxmultinom",
      "title": "CDF of the multinomial maximum at specified points",
      "topics": [
        "pmaxmultinom"
      ]
    },
    {
      "page": "pminmultinom",
      "title": "CDF of the multinomial minimum at specified points",
      "topics": [
        "pminmultinom"
      ]
    },
    {
      "page": "prangemultinom",
      "title": "CDF of the multinomial range at specified points",
      "topics": [
        "prangemultinom"
      ]
    },
    {
      "page": "print.xomultinom_dist",
      "title": "Print method for 'xomultinom_dist' objects",
      "topics": [
        "print.xomultinom_dist"
      ]
    },
    {
      "page": "print.xomultinom_size",
      "title": "Print method for 'xomultinom_size' objects",
      "topics": [
        "print.xomultinom_size"
      ]
    },
    {
      "page": "qJlargemultinom",
      "title": "Quantile function of the sum of J largest order statistics for a multinomial distribution",
      "topics": [
        "qJlargemultinom"
      ]
    },
    {
      "page": "qmaxmultinom",
      "title": "Quantile function of the maximum for a multinomial distribution",
      "topics": [
        "qmaxmultinom"
      ]
    },
    {
      "page": "qminmultinom",
      "title": "Quantile function of the minimum for a multinomial distribution",
      "topics": [
        "qminmultinom"
      ]
    },
    {
      "page": "qrangemultinom",
      "title": "Quantile function of the range for a multinomial distribution",
      "topics": [
        "qrangemultinom"
      ]
    },
    {
      "page": "rand_test",
      "title": "Apply a randomized test decision rule",
      "topics": [
        "rand_test"
      ]
    },
    {
      "page": "rangemultinomcdf",
      "title": "Distribution object for the multinomial range",
      "topics": [
        "rangemultinomcdf"
      ]
    },
    {
      "page": "rdirichlet",
      "title": "Random generation from a Dirichlet distribution",
      "topics": [
        "rdirichlet"
      ]
    },
    {
      "page": "rJlargemultinom",
      "title": "Random generation from the distribution of the sum of J largest order statistics for a multinomial distribution",
      "topics": [
        "rJlargemultinom"
      ]
    },
    {
      "page": "rmaxmultinom",
      "title": "Random generation from the distribution of the multinomial maximum",
      "topics": [
        "rmaxmultinom"
      ]
    },
    {
      "page": "rminmultinom",
      "title": "Random generation from the distribution of the multinomial minimum",
      "topics": [
        "rminmultinom"
      ]
    },
    {
      "page": "rrangemultinom",
      "title": "Random generation from the distribution of the multinomial range",
      "topics": [
        "rrangemultinom"
      ]
    },
    {
      "page": "summary.xomultinom_dist",
      "title": "Summary method for 'xomultinom_dist' objects",
      "topics": [
        "summary.xomultinom_dist"
      ]
    },
    {
      "page": "summary.xomultinom_size",
      "title": "Summary method for 'xomultinom_size' objects",
      "topics": [
        "summary.xomultinom_size"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppProgress",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 1.4771212547196624,
  "_indexed": false,
  "_nocasepkg": "xomultinom",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://sergioventurini.r-universe.dev/XOMultinom",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:27:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/776fc78a355f48c6c3ea971e1f2e442237637a768db8bf69e01331feacb1cd66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:27:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/acd5b35ebb78930cbd76ad6afa8044cd5931dcb7aa71cbecc87c04fcfa65773e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:27:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/d640efea339ad7037dfbad818ce9a453f8eb419c031f03416fa24fc4c2542fa4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:27:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/94e715af610fabb4a4a1e170163361abe09277da1e1fb77b75f299a0145428e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:27:07.000Z",
      "arch": "emscripten",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/540a5663f50f246a698ab3d0692e1b6487cc2317dea75821c9714cc35fed8293",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:28:26.000Z",
      "arch": "aarch64",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/88ab217fa1876c9676d0fd948e77bbfc2b355f1f769a8cb9894332e2520f224d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:26:19.000Z",
      "arch": "x86_64",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/12bfaf9224dd5c93c591847931dce419e5399337e144e51c89c42dcc05365311",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:28:53.000Z",
      "arch": "aarch64",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/57cfd43f4a13ea899a3046a2d65353d6caae4a4bc22aa0e393c74b0365210a6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.0-2",
      "date": "2026-10-26T10:26:27.000Z",
      "arch": "x86_64",
      "commit": "797130f05290f3a0264710b3668cff3edaacd132",
      "fileid": "https://r2.ropensci.org/1024f211607528ecb4d97713718aaa96f85cffb989cd277f33bbc15f653145e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40306599601"
    }
  ]
}