Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R plsm中的错误。。。清单变量必须包含在数据中_R_Regression_Structural Equation Model - Fatal编程技术网

R plsm中的错误。。。清单变量必须包含在数据中

R plsm中的错误。。。清单变量必须包含在数据中,r,regression,structural-equation-model,R,Regression,Structural Equation Model,我正在尝试建立一个PLS-SEM模型,我正在使用semPLS包中R中的plsm()函数。然而,一开始我得到了一个错误,说: The latent variables are not allowed to coincide with names of observed variables. 我理解这一点,但经过我的输入,甚至在我的测量模型矩阵中添加单因素结构(直接测量变量),我现在得到以下结果: mod <- plsm(data = survey, strucmod = smin, mea

我正在尝试建立一个PLS-SEM模型,我正在使用semPLS包中R中的plsm()函数。然而,一开始我得到了一个错误,说:

The latent variables are not allowed to coincide with names of observed variables.
我理解这一点,但经过我的输入,甚至在我的测量模型矩阵中添加单因素结构(直接测量变量),我现在得到以下结果:

mod <- plsm(data = survey, strucmod = smin, measuremod = mmin)
Error in plsm(data = survey, strucmod = smin, measuremod = mmin) : 
  The manifest variables must be contained in the data.
mod