I need to create a table, where rows = Houses and columns = Man, Woman and total. I've used group_by function, but it shows me the wrong data structure:
got_chars_bar <- got_chars %>% group_by(house, male) %>% count(house, sort = TRUE)
and the result is: