cctmemb {CCTpack}R Documentation

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

data(hotcold)
# cctfit <- cctapply(data = hotcold, clusters = 2, itemdiff = TRUE, samples = 10000, 
#                     chains = 3, burnin = 2000, runchecks = FALSE)
# cctmemb(cctfit)

[Package CCTpack version 1.5.2 Index]