这是我的数据集:https://www.dropbox.com/s/31qvc6miew2qkpp/top_terms.csv?dl=0
top_terms = read.csv("top_terms.csv")
top_terms %>% # take the top terms
mutate(term = reorder(term, beta)) %>%
ggplot(aes(term, beta, fill = factor(topic))) +
geom_col(show.legend = FALSE) +
facet_wrap(~ topic, scales = "free")
labs(x = NULL, y = "Beta")
coord_flip()
花了一些时间在Google上进行研究,并尝试了各种方法,但仍无法确定订单。我希望这些术语按降序排列。请帮忙。谢谢!
答案 0 :(得分:1)
template can't be null