I have this table here
This is my desired goal
I've tried the following but it doesn't work.
table(data$Category, data$Amount)
I have this table here
This is my desired goal
I've tried the following but it doesn't work.
table(data$Category, data$Amount)