| make_bifactor_target | R Documentation |
Builds the target loading matrix for B-ESEM. The general factor G has target 1 for all items (free to load everywhere). Each specific factor has target 1 for its primary items and 0 for all others.
make_bifactor_target(specific_factors, indicators, g_name = "G")
specific_factors |
Named list of specific factor -> item assignments. |
indicators |
Character vector of all item names. |
g_name |
Character. Name for the general factor. Default |
A numeric matrix (items x factors) of class "esem_target".
Column order: G first, then specific factors in list order.
tgt <- make_bifactor_target(
specific_factors = list(EX = c("y1","y2","y3"),
MD = c("y4","y5","y6")),
indicators = paste0("y", 1:6)
)
print(tgt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.