肯定我的数据格式正确,可以读入 qmethod()(参见 cookbook),但是
{r analysis}
# Run the analysis
# Create an object called 'results', and put the output
# of the function 'qmethod' into this object
# (replace the number of factor 'nfactors' as necessary)
results <- qmethod(Q_R_input, nfactors = 3)
返回
<块引用>错误:不能对不存在的列进行子集化。 x 位置 18、44、13、45、51 等不存在。 ℹ 只有1列。
当然这是快速的,谢谢!