跟随哈德利·威克姆 (Hadley Wickham)“探索数据和模型的实用工具” http://had.co.nz/thesis/2.4 节中的示例,铸造熔融数据我越来越Error: could not find function "cast"
。我已经安装并加载了 reshape2 软件包。
> cast(msmithsm, time + subject ~ variable)
Error: could not find function "cast"
In reshape2, cast()
已被替换为two功能:acast()
and dcast()
.
From ?cast
,在包中reshape2:
描述:
根据您的需要使用“acast”或“dcast”
矢量/矩阵/数组输出或数据帧输出。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)