Overview of ggh4x features
mainThe ggh4x package is an extension for ggplot2 that provides utility functions for advanced plot tweaking that fall outside the standard 'grammar of graphics'.
Key capabilities include:
Facet Customization
- Extended Facets: Additional options for axis labelling and placement.
- Nested Facets: Strips that can span multiple panels.
- Manual Facets: Custom layouts.
- Custom Strips: More types of strips for facet labels.
- Per-panel Position Scales: Adjusting scales on a per-panel basis.
- Panel Sizing: Varying the size of panels without being limited by global
aspect.ratioor fixed coordinates.
Statistical Layers
- Theoretical Densities: Overlaying densities computed with the
fitdistrpluspackage. - Rolling Kernels: Drawing trend lines using a rolling kernel.
- Group-wise Transformations: Transforming x and y positions in a group-wise manner.
- Run-length Encoding: Calculating run-length encodings of data.