Hi Jim,
I tried it and it while it does make the diagram look more like what I want,
there are a few categories still out of order. Thank you for your help!
-Angela
On Thu, 7/23/15, Jim Lemon wrote:
Subject: Re: [R] Ordering in Sankey diagram
Hi Angela,
Assuming that your reformatted data is named "data", have you tried:
data[order(data$count,data$before,decreasing=TRUE),]
Jim
On Thu, Jul 23, 2015 at 3:15 AM, Angela via R-help wrote:
> Hello,
>
> I am trying to figure out if there is a way to order the left side of a
> Sankey diagr
Hello,
I am trying to figure out if there is a way to order the left side of a Sankey
diagram from most frequent to least frequent. I am using R version 3.2.1 and
using googleVis version 0.5.9 for the Sankey. I've tried sorting, but that does
not work. Is there anyway to force it to arrange the
3 matches
Mail list logo