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.3.0 |
| Imports: | sf, ggplot2, patchwork |
| Suggests: | testthat, knitr, rmarkdown, cowplot |
| Published: | 2025-12-18 |
| DOI: | 10.32614/CRAN.package.insetplot (may not be active yet) |
| Author: | Chao Kong |
| Maintainer: | Chao Kong <kongchao1998 at gmail.com> |
| 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 |
| Reference manual: | insetplot.html , insetplot.pdf |
| Vignettes: |
Inset maps with insetplot (source, R code) |
| Package source: | insetplot_1.3.0.tar.gz |
| Windows binaries: | r-devel: insetplot_1.3.0.zip, r-release: not available, r-oldrel: insetplot_1.3.0.zip |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): insetplot_1.3.0.tgz, r-oldrel (x86_64): insetplot_1.3.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=insetplot to link to this page.