Skip to content

cbcTools

0.7.1Package record

Design and Analyze Choice-Based Conjoint Experiments

0packages depend
5.4Kdownloads / year
68.5%test coverage
13/13flavors OK

Overview

About

Design and evaluate choice-based conjoint survey experiments. Generate a variety of survey designs, including random designs, frequency-based designs, and D-optimal designs, as well as "labeled" designs (also known as "alternative-specific designs"), designs with "no choice" options, and designs with dominant alternatives removed. Conveniently inspect and compare designs using a variety of metrics, including design balance, overlap, and D-error, and simulate choice data for a survey design either randomly or according to a utility model defined by user-provided prior parameters. Conduct a power analysis for a given survey design by estimating the same model on different subsets of the data to simulate different sample sizes. Bayesian D-efficient designs using the 'cea' and 'modfed' methods are obtained using the 'idefix' package by Traets et al (2020) doi:10.18637/jss.v096.i03. Choice simulation and model estimation in power analyses are handled using the 'logitr' package by Helveston (2023) doi:10.18637/jss.v105.i10.

Changes in 0.7.1
  • Auto-encoding to dummy coding occurs for cbc_choices and cbc_power if the design is detected to have a no_choice option.
  • Updated some of the print methods so that they don't error if the choices or design objects are modified by dplyr functions.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.9 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-30
  • ERROR13 OK, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 0.7.1
READMEYes · 275 wordsVignettesYes · 8 · dynamicNEWSYes · 100% structured · mentions 0.7.1Citation fileYes · software entry onlyWebsiteYes · pkgdown
Description cites a JSS article
Help pages
29 (6 internal)
Examples that run
100%10 run in a plain check
Exported functions with examples
71%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

5.4K
CRAN downloads in the past year
Rank #7,038 · ~15/day · ~452/mo
Daily download trend is not available in this view yet.
48130 days
1.2K90 days
5.4K1 year
Compare downloads with other packages →
Also on106 r2u15 autocran1K conda_forge

Repository

11Stars
6Forks
5Open issues
0Open PRs
5Releases
443Commits
2Commit identities
rrstatsconjointdesigncbcsawtoothdiscrete-choicesurvey
443 commits · Last activity 2026-06-24 · 0% stars, 30d · Default branch at 0.7.2, ahead of CRAN 0.7.1 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
59
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-07-25 · 82026-07-07 · 11
PracticesBeta

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

Checks run against github.com/jhelvy/cbctools on 2026-10-21.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-06-24 · The repository has a site deploy workflow

pkgdown site last built 2026-06-24

CRAN release process (1)
CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing cbcTools adds 78 packages (46 with compiled code, 77 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

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

Nothing depends on this yet.

People & History

People (1)
Maintainer since 0.2.0 (2023), Author, Copyright holder
Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.1Latest
    record
    2025-10-20 · current release · diff ↗ ·
    added 1 export
    cbc_encode
  • 0.6.4
    record
    2025-09-23 · diff ↗
  • 0.6.3
    record
    2025-08-21 · diff ↗
  • unarchivedReturned to CRAN
    2025-07-17
  • 0.6.2
    record
    2025-07-17 · diff ↗ ·
    removed 4 exports
    cbc_balance, cbc_overlap, randLN, randN
    added 7 exports
    cbc_compare, cbc_decode, cbc_inspect, cbc_priors, cor_spec, int_spec, rand_spec
  • archivedRemoved from CRAN
    2025-04-19
    issues were not corrected despite reminders
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.0
    record
    2023-07-13 · diff ↗
  • 0.4.0
    record
    2023-06-30 · diff ↗ ·
    added 1 export
    plot_compare_power
  • 0.3.4
    record
    2023-06-13 · diff ↗
  • 0.3.3
    record
    2023-06-02 · diff ↗
  • 0.3.2
    record
    2023-05-23 · diff ↗ ·
    added 1 export
    cbc_restrict
  • 0.3.0
    record
    2023-05-10 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
Show 2 earlier eventsHide 2 earlier events
  • 0.2.0
    record
    2023-02-28
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-28
Total releases
11 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
2.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("cbcTools")

The package provides a citation file, so citation() returns the authors' own entry.

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

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