xfim / ggmcmc

Graphical tools for analyzing Markov Chain Monte Carlo simulations from Bayesian inference
111 stars 31 forks source link

Disable/change sorting in ggs_catarpillar #60

Closed lindeloev closed 5 years ago

lindeloev commented 6 years ago

I make inference on a variable where there is a meaningful order to the indices. I would like to keep that order in the plot. Could you implement either (1) a method to disable value-sorting and keep the alphabetical sorting? or (2) an option to manually specify a sorting.

Here is the plot. In this case, I would just like them in the order of the index to see if discriminability covaries with item difficulty: image

xfim commented 5 years ago

There is an argument in ggs_caterpillar(), sort, that is expected to do exactly this. Does it solve your issue?