Package: ggfields 0.0.7
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.
Authors:
ggfields_0.0.7.tar.gz
ggfields_0.0.7.zip(r-4.7)ggfields_0.0.7.zip(r-4.6)ggfields_0.0.7.zip(r-4.5)
ggfields_0.0.7.tgz(r-4.6-any)ggfields_0.0.7.tgz(r-4.5-any)
ggfields_0.0.7.tar.gz(r-4.7-any)ggfields_0.0.7.tar.gz(r-4.6-any)
ggfields_0.0.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
ggfields/json (API)
NEWS
| # Install 'ggfields' in R: |
| install.packages('ggfields', repos = c('https://pepijn-devries.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pepijn-devries/ggfields/issues
Pkgdown/docs site:https://pepijn-devries.github.io
- seawatervelocity - A small subset of the global ocean physics analysis and forecast product
Last updated from:b69aa8be2f (on master). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 139 | ||
| source / vignettes | OK | 243 | ||
| linux-release-x86_64 | OK | 164 | ||
| macos-release-arm64 | OK | 109 | ||
| macos-oldrel-arm64 | OK | 119 | ||
| windows-devel | OK | 100 | ||
| windows-release | OK | 94 | ||
| windows-oldrel | OK | 101 | ||
| wasm-release | OK | 132 |
Exports:angle_correctionannotation_fieldsdraw_key_fieldsgeom_fieldsGeomFieldspythagorasscale_radius_binnedscale_radius_continuousscale_radius_discretestat_fieldsStatFields
Dependencies:classclassIntclicpp11DBIdplyre1071farvergenericsggplot2gluegtableisobandKernSmoothlabelinglifecyclemagrittrMASSpillarpkgconfigproxyR6RColorBrewerRcpprlangs2S7scalessftibbletidyselectunitsutf8vctrsviridisLitewithrwk
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate correction for angle in the plot coordinate system | angle_correction |
| Annotate a ggplot with vector fields | annotation_fields |
| Key glyphs for 'radius' legends | draw_key_fields |
| Arrows depicting a vector field | GeomFields geom_fields |
| A helper function to calculate vector lengths | pythagoras |
| Vector field radius scales | scale_radius_binned scale_radius_continuous scale_radius_discrete |
| A small subset of the global ocean physics analysis and forecast product | seawatervelocity |
| Stat method for geom_fields | StatFields stat_fields |
