The inspect function not found

淺唱寂寞╮ 提交于 2020-05-24 05:30:13

问题


Coursetopics <-read.csv("Coursetopics.csv")

#remove first column

Coursetopics.mat <-as.matrix(Coursetopics[,-1])

#convert the binary incidence matrix into a transaction database

Coursetopics.trans<-as(Coursetopics.mat, "transactions")
inspect(Coursetopics.trans)

This is the code. My issue is getting the inspect function to work properly Error reads as follows:

Error in inspect(Coursetopics.trans) : could not find function "inspect"

I have added arules and tm packages but no luck on getting rid of the error.

来源:https://stackoverflow.com/questions/61432544/the-inspect-function-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!