Monthly Archives: September 2018

How to order factors by level frequency and level name

Intro Quite frequently, factor variables are ordered by level frequency. However, factor levels having only a few observations are sometimes collapsed into one level usually named “others”. Since this level is usually not of particular interest, it may be a … Continue reading

Posted in Tips & Tricks, Visualizing Data | Tagged | 2 Comments