[R] Ordering of facet_wrap() panels

John jwd @end|ng |rom @urewe@t@net
Wed Aug 15 23:57:52 CEST 2018

On Wed, 15 Aug 2018 07:21:55 -0700
Stats Student <stats.student4647 using gmail.com> wrote:

> Hi, I am generating multiple charts with facet_wrap() and what what I
> see, R/ggplot sorts the panels by the facet variable. So adding an
> index to the facet variable (1 - bucket, 2 - bucket, etc) does solve
> the sorting issue but it's ugly. 
You should also be looking at the ggplot help mailing list.  Since you
did not supply an example of your code it is not possible to really see
if anything in it might be overriding ggplot's normal behavior.


More information about the R-help mailing list