Skip to contents

Overview

sugarglider provides ggplot2 extensions to create glyph maps that visualize seasonal aspects of spatio-temporal data with geom_glyph_ribbon() and geom_glyph_segment().

These functions create a ribbon or segment geometry designed to display glyphs based on the combination of x_major and y_major. For each x_minor value, geom_glyph_ribbon() displays a y interval defined by ymin_minor and ymax_minor. Meanwhile, geom_glyph_segment() draws a straight line between y_minor and yend_minor with respect to x_minor.

Installation

# Download the development version from GitHub:
devtools::install_github("maliny12/sugarglider")

Usage

See the examples page to learn more about how to use sugarglider in your project.

Generate glyph-maps with leaflet. Generate interactive glyphs with ggiraph Add ribbon legend to the glyph map. Color by year

R Journal

The source code for the R journal article is available on GitHub at link.