Package: ggfields 0.0.6.0003
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.6.0003.tar.gz
ggfields_0.0.6.0003.zip(r-4.5)ggfields_0.0.6.0003.zip(r-4.4)ggfields_0.0.6.0003.zip(r-4.3)
ggfields_0.0.6.0003.tgz(r-4.4-any)ggfields_0.0.6.0003.tgz(r-4.3-any)
ggfields_0.0.6.0003.tar.gz(r-4.5-noble)ggfields_0.0.6.0003.tar.gz(r-4.4-noble)
ggfields_0.0.6.0003.tgz(r-4.4-emscripten)ggfields_0.0.6.0003.tgz(r-4.3-emscripten)
ggfields.pdf |ggfields.html✨
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
- seawatervelocity - A small subset of the global ocean physics analysis and forecast product
Last updated 1 months agofrom:82047901d2 (on master). Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 27 2024 |
R-4.5-win | OK | Aug 27 2024 |
R-4.5-linux | OK | Aug 27 2024 |
R-4.4-win | OK | Aug 27 2024 |
R-4.4-mac | OK | Aug 27 2024 |
R-4.3-win | OK | Aug 27 2024 |
R-4.3-mac | OK | Aug 27 2024 |
Exports:angle_correctionannotation_fieldsdraw_key_fieldsgeom_fieldsGeomFieldspythagorasscale_radius_binnedscale_radius_continuousscale_radius_discretestat_fieldsStatFields
Dependencies:classclassIntclicolorspaceDBIdplyre1071fansifarvergenericsggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigproxyR6RColorBrewerRcpprlangs2scalessftibbletidyselectunitsutf8vctrsviridisLitewithrwk
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 |