Using arules package on datasets that are not inside the package

If I try to get the data from my excel file like this:

songs_data<-read_excel("file _location/songs.xls")

Warning message:
In data(songs_data) : data set ‘songs_data’ not found

If reading of the file succeeded you can see its information with e.g. the head function.
This should show you the first 6 lines of the data.frame.
After that you can apply the functions of the arules package.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.