Dear Community,
I have two data tables and I want to use the same value ordering for a certain variable that appears in both. I used "row order levels" option for dt1. How can I extract the value order and easily apply it to dt2?
Thanks,
Jim,
You are a wizard! Thank you so much.
As some background, I want to plot the ratio of means as a heat map alongside the actual means including st dev error intervals.
So far the only way I can do this is to make a separate summary table of just the means, make a third column of ratio and use the ratio as color. In order to make the heat map easy to read I also sort the rows according to ratio, that way there is a continuous gradient
However When I go back to the original table with all the data in order to make line graph with std dev error bars, i am left with a real mess for the ordering!
This solution worked!
Now if I could only figure out how to add a ratio column to the original data table based on a grouping variable and then use the average ratio as a color.... that may be even better so I could plot the means and a heat map of ratio side by side
Best,