我和我的学生都加载了相同的数据集,安装了相同的包,并运行了相同的代码。当我运行“frq”时,我得到一个频率表,并且该变量被标记为“数字”。当我的学生运行相同的代码时,她得到"Error: Can't convert <haven_labelled> to character."
"Error: Can't convert <haven_labelled> to character."
有什么想法我们可能会出错吗?
numeric character frequency labelled-generic r-haven
character ×1
frequency ×1
labelled-generic ×1
numeric ×1
r-haven ×1