我有以下测量模型(SEM),但是当我尝试运行它时,我不断收到以下错误:
构造错误(复合(“l2”,multi_items(“x”,21:24),权重= mode_A),:缺少参数,没有默认值
我能做些什么来解决它?有任何想法吗 ?谢谢大家!!最好的,安德里亚
library(seminr)
# Create measurement model
mm_lock <- constructs(
composite("l2", multi_items("x", 21:24), weights = mode_A),
composite("l3", multi_items("x", 29:32), weights = mode_A),
composite("l4", multi_items("x", 43:45), weights = mode_A),
composite("l5", multi_items("x", 49:52), weights = mode_A),
composite("l6", multi_items("x", 57:59), weights = mode_A),
composite("l7", multi_items("x", 63:65), weights = mode_A),
composite("l8", multi_items("x", 69:70), weights = mode_A),
composite("l9", multi_items("x", 71:74), weights = mode_A),
composite("l10", multi_items("x", 81:83), weights = mode_A),
composite("l11", multi_items("x", 87:89), weights = mode_A),
)