Create Glyph-Maps of Spatiotemporal Data

Provides 'ggplot2' extensions to construct glyph-maps for visualizing seasonality in spatiotemporal data. See the Journal of Statistical Software reference: Zhang, H. S., Cook, D., Laa, U., Langrené, N., & Menéndez, P. (2024) . The manuscript for this package is currently under preparation and can be found on GitHub at < https://github.com/maliny12/paper-sugarglider>.


sugarglider

R-CMD-check

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

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("sugarglider")

1.0.3 by Maliny Po, 2 years ago


https://maliny12.github.io/sugarglider/, https://github.com/maliny12/sugarglider


Report a bug at https://github.com/maliny12/sugarglider/issues


Browse source code at https://github.com/cran/sugarglider


Authors: Maliny Po [aut, cre, cph] , S. Nathan Yang [aut] , H. Sherry Zhang [ctb] , Dianne Cook [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, ggplot2

Suggests testthat, ggplotify, tidyr, grid, lubridate, knitr, rmarkdown, gridExtra, ozmaps, sf, tidyverse, viridis, ggthemes, vdiffr, kableExtra, ggiraph, jsonlite, httr, usmap, geosphere, purrr


See at CRAN