我在阅读recommenderlab的PDF文档,并参考这篇文章(特别是第12页):http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.168.213&rep=rep1&type=pdf
我持续遇到以下错误:
> LIST(recom)Error in function (classes, fdef, mtable) : unable to find an inherited method for function ‘LIST’ for signature ‘"topNList"’>
我尝试使用>list(recom)
来代替…但结果并不是我想要的。
关于为什么这不像CRAN包文档建议的那样工作的任何想法吗….我使用的是R版本2.15.3 (2013-03-01)。
回答:
这对你来说可能太晚了,但你读的是一篇过时的论文。现在,你的解决方案应该是这样的:
as(recom,"list")
祝好,~L