Skip to content

comparison

1.0.8Package record

Multivariate Likelihood Ratio Calculation and Evaluation

0packages depend
3.2Kdownloads / year
33.2%test coverage
0/13flavors OK

Overview

About

Functions for calculating and evaluating likelihood ratios from uni/multivariate continuous observations.

Changes in 1.0.8
  • Added a NEWS.md file to track changes to the package.
  • Started work to replace the two.level group of functions with a single calcLR function
  • Added the information previously in the comparison-package.R file to the

README.md file---most notably the acknowledgements

  • This package is now maintained by James Curran following David Lucy's sad demise in 2018-06-20

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) glass.Rd:10: Lost braces
    10 | \item{item}{factor}{200 levels - which item the measurements came from}
       |                    ^
checkRd: (-1) glass.Rd:11-12: Lost braces
    11 | \item{fragment}{factor}{4 levels - which of the four fragments from each item the observations were made
       |                        ^
checkRd: (-1) glass.Rd:13: Lost braces
    13 | \item{logNaO}{numeric}{log of sodium concentration to oxygen concentration}
       |                       ^
checkRd: (-1) glass.Rd:14: Lost braces
    14 | \item{logMgO}{numeric}{log of magnesium concentration to oxygen concentration}
       |                       ^
checkRd: (-1) glass.Rd:15: Lost braces
    15 | \item{logAlO}{numeric}{log of aluminium concentration to oxygen concentration}
       |                       ^
checkRd: (-1) glass.Rd:16: Lost braces
    16 | \item{logSiO}{numeric}{log of silicon concentration to oxygen concentration}
       |                       ^
checkRd: (-1) glass.Rd:17: Lost braces
    17 | \item{logKO}{numeric}{log of potassium concentration to oxygen concentration}
       |                      ^
checkRd: (-1) glass.Rd:18: Lost braces
    18 | \item{logCaO}{numeric}{log of calcium concentration to oxygen concentration}
       |                       ^
checkRd: (-1) glass.Rd:19: Lost braces
    19 | \item{logFeO}{numeric}{log of iron concentration to oxygen concentration}
       |                       ^

CRAN check page ↗

Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • NOTE13 NOTENow
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.8
READMEYes · 306 wordsVignettesNoNEWSYes · 67% structured · mentions 1.0.8Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
17 (1 internal)includes a package overview page
Examples that run
100%12 run in a plain check
Exported functions with examples
92%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
41%

Downloads

3.2K
CRAN downloads in the past year
Rank #11,006 · ~9/day · ~263/mo
Daily download trend is not available in this view yet.
34530 days
94990 days
3.2K1 year
Compare downloads with other packages →
Also on84 r2u7 autocran

Repository

3Stars
2Forks
2Open issues
0Open PRs
0Releases
11Commits
2Commit identities
11 commits · Last activity 2020-08-16 · 0% stars, 30d · The default branch showed an older version (1.0-5) than CRAN on 2026-10-18
Responsiveness
How these are sampled
PRs merged (all time)
70%
Median days to close, 50 most recently updated closed issues
26
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2024-02-10 · 32026-07-07 · 3
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/jmcurran/comparison on 2026-10-18.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing comparison adds 32 packages (14 with compiled code, 17 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 3.5.0
Imports (3)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 1.0-5 (2020) · added in 1.0-5
Author · added in 1.0-5

Previously maintained by David Lucy (0.2-2 to 1.0-4).

Releases (7)

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
  • 1.0.8Latest
    record
    2023-08-25 · current release · diff ↗ ·
    added 6 exports
    calcLR, logistic.apply.calibration, logistic.calibrate.get.model, logistic.calibrate.set, makeCompItem, makeCompVar
  • 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
  • 1.0-5
    record
    2020-08-05 · diff ↗ ·
    added 1 export
    calibrate.set
  • 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
  • 1.0-4
    record
    2013-11-05 · diff ↗
Show 7 earlier eventsHide 7 earlier events
  • 1.0-2
    record
    2013-06-11 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.0-0
    record
    2012-07-16 · diff ↗ ·
    added 2 exports
    two.level.normal.LR, two.level.lindley.LR
  • 0.4-0
    record
    2012-04-17 · diff ↗ ·
    added 4 exports
    calc.ece, two.level.density.LR, two.level.comparison.items, two.level.components
  • R
    R 2.15.0 released · 2012-03-30
  • 0.2-2
    record
    2012-01-10
  • R
    R 2.14.0 released · 2011-10-31

Package metadata

First published
2012-01-10
Total releases
7 / 14 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
50 KB / 1 file
Download size
83 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("comparison")
Curran, J., Lucy, D., & Martyna, A. (2023). comparison: Multivariate Likelihood Ratio Calculation and Evaluation (Version 1.0.8) [Computer software]. https://doi.org/10.32614/CRAN.package.comparison

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 comparison version 1.0.8 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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