insetplot: Inset Plots for Spatial Data Visualization (original) (raw)

Tools for easily and flexibly creating 'ggplot2' maps with inset maps. One crucial feature of maps is that they have fixed coordinate ratios, i.e., they cannot be distorted, which makes it difficult to manually place inset maps. This package provides functions to automatically position inset maps based on user-defined parameters, making it extremely easy to create maps with inset maps with minimal code.

Version: 1.4.0
Imports: sf, ggplot2, patchwork
Suggests: testthat, knitr, rmarkdown, cowplot
Published: 2026-02-02
DOI: 10.32614/CRAN.package.insetplot
Author: Chao Kong ORCID iD [aut, cre, cph]
Maintainer: Chao Kong
BugReports: https://github.com/fncokg/insetplot/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://fncokg.github.io/insetplot/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: insetplot results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=insetplotto link to this page.