The University of Auckland
Browse
ARCHIVE
gggrid-deposit-2021-05-31.tar.gz (829.97 kB)
README-deposit (0.07 kB)
1/0
2 files

Accessing 'grid' from 'ggplot2'

report
posted on 2021-05-31, 03:00 authored by Paul MurrellPaul Murrell

This report describes the 'gggrid' package, which provides a convenient interface for making use of raw 'grid' functions in combination with 'ggplot2'.

The 'gggrid' package provides two functions, grid_panel() and grid_group(), both of which create a new layer in a 'ggplot2' plot. The first argument to both functions is a 'grid' grob or a function that generates a grob and that grob is added to the plot region of the 'ggplot2' plot.

History

Publisher

University of Auckland

Usage metrics

    Faculty of Science

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC