CCTpack-package {CCTpack}R Documentation

CCTpack: Consensus Analysis, Model-Based Clustering, and Cultural Consensus Theory Applications


An R package for advanced model-based analyses of questionnaire data. These models can detect the consensus answers of the respondents, and perform a model-based clustering of the respondents. The methods can detect latent subgroups in the data, their differing consensuses, the expertise of each respondent, their response biases, and the difficulty of each question. The ability to parse the variance of the data, by these factors, results in sophisticated analyses of the consensus answers, the clusters, and the respondent knowledge/expertise. These are advanced models that are fit using hierarchical Bayesian inferential methods. Bayesian sampling routines are currently handled with JAGS (please install beforehand: The package can currently handle data from questionnaires of binary responses, ordered categorical, or continuous responses. If not already in this format, your data might be appropriately transformed to one of these scales to be fit by these models. The models are based on mathematical publications in the domain of Cultural Consensus Theory (CCT): the General Condorcet Model (GCM), the Latent Truth Rater Model (LTRM), and the Continuous Response Model (CRM). See the relevant literature listed in the reference manual for more information about these CCT models and methods. Respectively, these models are applicable to dichotomous/binary (0,1), ordinal (1, 2, ...), and continuous data. In addition, there is functionality for component analyses/scree plots of the data, automatic plots of the model results, diagnostics for quality of fit, and exporting these plots/results.


Package: CCTpack
Type: Package
Version: 1.5.2
Date: 2017-10-10
License: GPL (>= 2)

1. Make sure you have JAGS installed
2. To install CCTpack use command: install.packages("CCTpack",dependencies=TRUE)
3. To load CCTpack use command: library(CCTpack)
4. Type ?cctapply to get a walkthrough with example data 5. For more information on the models and methods used, see the References section.


Royce Anders

Maintainer: Royce Anders <>


Anders, R., Oravecz, Z., & Batchelder, W. H. (2014). Cultural consensus theory for continuous responses: A latent appraisal model for information pooling. Journal of Mathematical Psychology, 61, 1-13.

Anders, R., & Batchelder, W. H. (2015). Cultural consensus theory for the ordinal data case. Psychometrika, 1-31.

Anders, R., & Batchelder, W. H. (2012). Cultural consensus theory for multiple consensus truths. Journal for Mathematical Psychology, 56, 452-469.

Batchelder, W. H., & Anders, R. (2012). Cultural consensus theory: comparing different concepts of cultural truth. Journal of Mathematical Psychology, 56, 316-332.

Oravecz, Z., Anders, R. & Batchelder, W. H. (2015). Test theory without an answer key in a Bayesian hierarchical modeling framework. Psychometrika, 1-24.

See Also

To install JAGS, see:

[Package CCTpack version 1.5.2 Index]