andrewheiss / Dissertation

📊 📖 Authoritarian regimes and international NGOs
16 stars 5 forks source link

Coefficient plots won't facet #3

Closed andrewheiss closed 8 years ago

andrewheiss commented 8 years ago

Currently ggplot does not support free facet scales with coord_flip(), so I have to fake facets with gridExtra:

1-coefs-int

But doing that means I lose the axis consistency I'd get from using facets—i.e., each pseudo facet currently has 0 at a different location and uses different a min/max in the scale.

With ggplot2 2.0's support of extensions, ggstance seems promising (especially geom_pointrangeh), but it currently either reports errors about undefined ymin and ymax aesthetics (related to this), or when using the development version of ggplot where this is apparently fixed (here).

Revisit these plots once the development dust has settled and ggstance and ggplot work together again?

sahirbhatnagar commented 8 years ago

+1

andrewheiss commented 8 years ago

This works nowadays:

1-coefs-bayes