attribute_classes: Simulate all the Latent Attribute Profile \mathbf{alpha}_c in...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RcppExports.R

Description

Generate the \mathbf{α}_c = (α_{c1}, …, α_{cK})' attribute profile matrix for members of class c such that α_{ck} ' is 1 if members of class c possess skill k and zero otherwise.

Usage

1

Arguments

K

Number of Attributes

Value

A 2^K by K matrix of latent classes corresponding to entry c of pi based upon mastery and nonmastery of the K skills.

Author(s)

James Joseph Balamuta and Steven Andrew Culpepper

See Also

simcdm::sim_subject_attributes() and attribute_inv_bijection()

Examples

1
2
3
4
5
6
7
## Simulate Attribute Class Matrix ----

# Define number of attributes
K = 3

# Generate an Latent Attribute Profile (Alpha) Matrix
alphas = attribute_classes(K)

tmsalab/edmcore documentation built on Sept. 4, 2021, 2:46 a.m.