Skip to content

echoice2

0.2.5

Choice Models with Economic Foundation

0packages depend
2.8Kdownloads / year
7.3%test coverage
13/13checks pass

Overview

About
Maintained by Nino HardtFirst published 2023-02-025 releasesCRAN page ↗GitHub ↗

Implements choice models based on economic theory, including estimation using Markov chain Monte Carlo (MCMC), prediction, and more. Its usability is inspired by ideas from 'tidyverse'. Models include versions of the Hierarchical Multinomial Logit and Multiple Discrete-Continous (Volumetric) models with and without screening. The foundations of these models are described in Allenby, Hardt and Rossi (2019) doi:10.1016/bs.hem.2019.04.002. Models with conjunctive screening are described in Kim, Hardt, Kim and Allenby (2022) doi:10.1016/j.ijresmar.2022.04.001. Models with set-size variation are described in Hardt and Kurz (2020) doi:10.2139/ssrn.3418383.

Install

Health

CRAN checks
13OK
Slowest check: 4.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.00
7.3%
Coverage · measured lines
98%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
67%
Documented parameters
99%
Return-value docs
100%
References docs
0%

Downloads

2.8K
CRAN downloads in the past year
Rank #14,398 · ~8/day · ~233/mo
Daily download trend is not available in this view yet.
15630 days
71490 days
2.8K1 year
Compare downloads with other packages →
Also on420 r2u26 autocran

Repository

Repository
1Stars
0Forks
1Open issues
0Open PRs
8Releases
93Commits
1Contributors
rchoice-models
93 commits · Last activity 2025-11-02

Stars over time

2024-01-30 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/ninohardt/echoice2 on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (3)
R >= 3.5dplyrggplot2
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.5Latest
    2025-11-02 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.4
    2023-11-20 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.3
    2023-03-12 · diff ↗
  • 0.2.1
    2023-02-04 · diff ↗
  • 0.2.0
    2023-02-02
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-02
Total releases
5 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Bundled data
216 KB / 3 files
Download size
2.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("echoice2")
Hardt, N. (2025). echoice2: Choice Models with Economic Foundation (Version 0.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.echoice2

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 echoice2 version 0.2.5 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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