egg 0.4.5 R Package Documentation

User guide for the 'egg' R package, providing functions to customize 'ggplot2' objects including custom geoms, themes, plot alignment, and fixed panel sizes.


egg 0.4.5 R Package Documentation - cover page
Brand
EG&G
Category
Other software
Document type
User Manual
Language
English
Pages
11
File format
PDF
File size
91 KB
Published
05 November, 2026
Updated
05 November, 2026
MD5 checksum
1C395520FD2184481959492B9CB38D91

About this manual

This document provides detailed usage instructions for the 'egg' R package, which extends 'ggplot2' with functions for customizing plot layouts and aesthetics. It includes tools for aligning plot panels, setting fixed panel sizes, creating custom geoms, and applying theme presets for publication or presentation. The package supports advanced customization for data visualization in R.

The functions are designed for users familiar with 'ggplot2', offering high-level wrappers to simplify layout adjustments and visual enhancements. Examples are provided for each function, demonstrating how to use them with real data and plot objects.

What's inside

  • expose_layout
  • geom_custom
  • ggarrange
  • gtable_frame
  • set_panel_size
  • symmetric_range
  • tag_facet
  • tag_facet_outside
  • theme_article
  • theme_presentation

Frequently asked questions

How do I align multiple ggplot objects on a page?

Use the ggarrange function with arguments like nrow, ncol, widths, and heights to control layout.

How can I set a fixed panel size for a ggplot?

Use the set_panel_size function with arguments width and height to fix panel dimensions.

How do I ensure a scale is symmetric about zero?

Use the symmetric_range function with a range argument to enforce symmetric scaling.

Download PDF (91 KB)

More EG&G Manuals


View all EG&G manuals →