hrbrmstr/waffle

Can't reorder factors

Opened this issue · 0 comments

Using the waffle package, it seems the code does not respond when factors are reordered using, for example:

factor(data, levels=c("2", "1", "3"))

From my testing, the order is based on order of factor appearance in data frame.