Learn R Programming

CCTpack (version 1.5.2)

cctmemb: Accessor function for the cluster memberships of the respondents.

Description

Outputs the cluster (cultural) assignment of each respondent, as determined by the CCT model fit to the data .

Usage

cctmemb(cctfit)

Arguments

cctfit

The cctfit object as obtained from the cctapply() function.

Examples

Run this code
# NOT RUN {
data(hotcold)
# cctfit <- cctapply(data = hotcold, clusters = 2, itemdiff = TRUE, samples = 10000, 
#                     chains = 3, burnin = 2000, runchecks = FALSE)
# cctmemb(cctfit)
# }

Run the code above in your browser using DataLab