How to create crosstables?

Hi, I am working on the bank telemarketing dataset. I'm getting an error while creating crosstables,"Can't select within an unnamed vector"

According to the documentation, crosstable() expects a data frame as the data input and you are giving it a vector, Banking$y. Do you mean

crosstable(Banking)

or

crosstable(Banking, cols = c(Names, Of, Some, Columns))
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.