Skip to content

XNomial

1.0.4.1Package record

Exact Goodness-of-Fit Test for Multinomial Data with Fixed Probabilities

1packages depend
7.8Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Tests whether a set of counts fit a given expected ratio. For example, a genetic cross might be expected to produce four types in the relative frequencies of 9:3:3:1. To see whether a set of observed counts fits this expectation, one can examine all possible outcomes with xmulti() or a random sample of them with xmonte() and find the probability of an observation deviating from the expectation by at least as much as the observed. As a measure of deviation from the expected, one can use the log-likelihood ratio, the multinomial probability, or the classic chi-square statistic. A histogram of the test statistic can also be plotted and compared with the asymptotic curve.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTEcompiled coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
File ‘XNomial/libs/XNomial.so’:
  Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

It is good practice to register native routines and to disable symbol
search.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.

CRAN check page ↗

Slowest check: 1.9 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-09-08
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-09-07
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.4.1
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
2
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

7.8K
CRAN downloads in the past year
Rank #5,885 · ~21/day · ~648/mo
Daily download trend is not available in this view yet.
44030 days
1.4K90 days
7.8K1 year
Compare downloads with other packages →
Also on342 r2u4 autocran3.6K conda_forge345 bioconda

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing XNomial adds no packages beyond those that come with R.

Depends (1)
R >= 2.14
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0.1 (2014)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.3Latest
    record
    2014-02-02 · current release · diff ↗ ·
    added 2 exports
    xmonte, xmulti
  • 1.0.4.1
    record
    2024-11-05 · diff ↗
  • 1.0.4
    record
    2015-12-24 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 1.0.1
    record
    2014-02-09
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2014-02-02
Total releases
4 / 12 yrs
License
GPL
Minimum R
≥ 2.14
Download size
353 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("XNomial")
Engels, B. (2024). XNomial: Exact Goodness-of-Fit Test for Multinomial Data with Fixed Probabilities (Version 1.0.4.1) [Computer software]. https://doi.org/10.32614/CRAN.package.XNomial

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for XNomial version 1.0.4.1 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy