View source: R/resp_styles_to_mplus.R
make_mplus_gpcm_nrm_syntax | R Documentation |
Prepares Mplus model syntax describing how items are loaded by latent traits in a GPCM specification of a NRM.
make_mplus_gpcm_nrm_syntax(
scoringColumn,
latentTraitName,
items,
reverseCoded,
itemCategories,
fixSlopes
)
scoringColumn |
a one-column matrix (column of a scoring matrix) |
latentTraitName |
a string with latent variable name |
items |
a character vector with item names |
reverseCoded |
a character vector with names of reverse-coded items |
itemCategories |
a data frame with columns named item and value storing unique (non-NA) values of items that occur in the data |
fixSlopes |
a logical value indicating whether slopes of the latent trait should be fixed to be the same |
A character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.