Package: cbcTools 0.7.2

cbcTools: Design and Analyze Choice-Based Conjoint Experiments

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>.

Authors:John Helveston [cre, aut, cph]

cbcTools_0.7.2.tar.gz
cbcTools_0.7.2.zip(r-4.7)cbcTools_0.7.2.zip(r-4.6)cbcTools_0.7.2.zip(r-4.5)
cbcTools_0.7.2.tgz(r-4.6-any)cbcTools_0.7.2.tgz(r-4.5-any)
cbcTools_0.7.2.tar.gz(r-4.7-any)cbcTools_0.7.2.tar.gz(r-4.6-any)
cbcTools_0.7.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
cbcTools/json (API)
NEWS

# Install 'cbcTools' in R:
install.packages('cbcTools', repos = c('https://jhelvy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jhelvy/cbctools/issues

Pkgdown/docs site:https://jhelvy.github.io

On CRAN:

Conda:

cbcconjointd-optimald-optimal-designdesigndesign-of-experimentdesign-of-experimentsdiscrete-choicedoeidefixoptimal-designpoweranalysissawtoothsurvey

7.64 score 11 stars 124 scripts 379 downloads 15 exports 78 dependencies

Last updated from:987d5e8340. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK135
source / vignettesOK232
linux-release-x86_64OK165
macos-release-arm64OK166
macos-oldrel-arm64OK139
windows-develOK98
windows-releaseOK100
windows-oldrelOK91
wasm-releaseOK128

Exports:cbc_choicescbc_comparecbc_decodecbc_designcbc_encodecbc_inspectcbc_powercbc_priorscbc_profilescbc_restrictcbc_suggest_priorscor_specint_specplot_compare_powerrand_spec

Dependencies:base64encbslibcachemcallrclicommonmarkcpp11data.tabledfidxdigestdplyrfarverfastDummiesfastmapfontawesomeFormulafsgenericsggplot2gluegmmgtablehtmltoolshttpuvidefixisobandjpegjquerylibjsonlitelabelinglaterlatticelifecyclelogitrmagrittrMASSMatrixmemoisemimemvtnormnloptrotelpillarpkgconfigpngprocessxpromisespsR6randtoolboxrappdirsrbibutilsRColorBrewerRcppRcppArmadilloRdpackrlangrngWELLS7sandwichsassscalesshinyshinyjssourcetoolsstringistringrtableHTMLtibbletidyselecttmvtnormutf8vctrsviridisLitewebshotwithrxtablezoo

Computing D-error in Choice Experiments

Rendered fromd_error.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-07-06
Started: 2025-07-06

Generating Designs

Rendered fromdesign.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-10-12
Started: 2025-07-06

Generating Profiles

Rendered fromprofiles.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-07-07
Started: 2025-07-06

Getting Started

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-10-12
Started: 2025-07-06

Power Analysis

Rendered frompower.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-10-12
Started: 2025-07-06

Simulating Choices

Rendered fromchoices.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-10-12
Started: 2025-07-06

Specifying Priors

Rendered frompriors.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-11-01
Started: 2025-07-06

Variable Encoding

Rendered fromencoding.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-10-12
Started: 2025-10-12