I am working on a real estate dataset (property) and have a column that includes owner-occupied houses(OWN), so the column has Yes and No if its owned by the owner or not and I wanted to find the percent of owners that own the house, any suggestions on how would I go about doing it?
Owner<-property %>% as.character(property$OWN) %>% mutate(houses=OWN=='Y'/sum(OWN) *100)