As the title suggests, I need mode of a particular column W.R.T categories in another column
> table(data$Outlet_Size)
High Medium Small
1606 621 1862 1592
> table(data$Outlet_Type)
Grocery Store Supermarket Type1 Supermarket Type2 Supermarket Type3
722 3717 618 624
so, I want to find out what are the stores sizes W.R.T the types of these stores