ggfields: Add Vector Field Layers to Ggplots

Add vector field layers to ggplots. Ideal for visualising wind speeds, water currents, electric/magnetic fields, etc. Accepts data.frames, simple features (sf), and spatiotemporal arrays (stars) objects as input. Vector fields are depicted as arrows starting at specified locations, and with specified angles and radii.

Version: 0.0.6
Depends: R (≥ 4.1.0)
Imports: dplyr (≥ 1.1.4), ggplot2 (≥ 3.4.4), grid (≥ 4.1.0), rlang (≥ 1.1.2), sf (≥ 1.0-15), scales (≥ 1.3.0)
Suggests: CopernicusMarine, knitr, rmarkdown, stars (≥ 0.6-4), testthat (≥ 3.0.0), vdiffr (≥ 1.0.7), svglite (≥ 2.1.3)
Published: 2024-02-26
DOI: 10.32614/CRAN.package.ggfields
Author: Pepijn de Vries ORCID iD [aut, cre]
Maintainer: Pepijn de Vries <pepijn.devries at>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README NEWS
CRAN checks: ggfields results


Reference manual: ggfields.pdf
Vignettes: Angle Correction
Radius Aesthetics


Package source: ggfields_0.0.6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ggfields_0.0.6.tgz, r-oldrel (arm64): ggfields_0.0.6.tgz, r-release (x86_64): ggfields_0.0.6.tgz, r-oldrel (x86_64): ggfields_0.0.6.tgz
Old sources: ggfields archive


Please use the canonical form to link to this page.