Takes a matrix of continuous mastery probabilities (e.g., from skill_profiles)
and groups participants into discrete latent classes based on a provided threshold.
Usage
groupattributepatterns(attributenodes, threshold = 0.5)
Arguments
- attributenodes
An I x K matrix or dataframe of participant masteries.
- threshold
Numeric. The probability cutoff above which a skill is considered mastered. Default is 0.5.
Value
A list of all possible $2^K$ groups, containing group label
(the binary vector pattern) and members (row indices or names of participants).