search for: scale_x_reordered

Displaying 1 result from an estimated 1 matches for "scale_x_reordered".

2020 Nov 24
2
Cambiar nombre de topic en anĂ¡lisis LDA
...tidy() %>% group_by(topic) %>% top_n(10, beta) %>% ungroup() %>% mutate(term = reorder_within(term, beta, topic)) %>% ggplot(aes(term, beta, fill = factor(topic))) + geom_col(show.legend = FALSE) + facet_wrap(~ topic, scales = "free_y") + coord_flip() + scale_x_reordered() Muchas gracias