I have the following data:
HouseType = c("A", "B", "C")
HouseFeatures= c("['Kitchen', 'Bathroom']" , "['Kitchen']", "['Bedroom', 'Bathroom', 'Kitchen']"
HouseRent = c(10,20,30)
I want to create different tables for these house features with a binary indicator for whether the house has the feature. What's the best way of doing that?