attribute_classes {simcdm} | R Documentation |
Simulate all the Latent Attribute Profile
in
Matrix form
Description
Generate the
attribute profile matrix for members of class
such that
' is 1 if members of class
possess skill
and zero otherwise.
Usage
attribute_classes(K)
Arguments
K |
Number of Attributes |
Value
A by
matrix
of latent classes
corresponding to entry of
based upon
mastery and nonmastery of the
skills.
Author(s)
James Joseph Balamuta and Steven Andrew Culpepper
See Also
sim_subject_attributes()
and attribute_inv_bijection()
Examples
## Simulate Attribute Class Matrix ----
# Define number of attributes
K = 3
# Generate an Latent Attribute Profile (Alpha) Matrix
alphas = attribute_classes(K)
[Package simcdm version 0.1.2 Index]