Package: ggsprings 0.5.0

ggsprings: Draw Springs in 'ggplot2' to Illustrate Least Squares
Implements an extension of 'ggplot2' which draws springs instead of straight lines between pairs of points. Aside from possible artistic use, the main impetus for this is to illustrate least squares problems by their physical analog: each observation is attached by a spring to a fitted point or line, and the stretch of each spring shows the size of its residual. Examples include the sample mean, the multivariate centroid, linear and non-linear regression, and principal components analysis.
Authors:
ggsprings_0.5.0.tar.gz
ggsprings_0.5.0.zip(r-4.7-any)ggsprings_0.5.0.zip(r-4.6-any)ggsprings_0.5.0.zip(r-4.5-any)
ggsprings_0.5.0.tgz(r-4.6-any)ggsprings_0.5.0.tgz(r-4.5-any)
ggsprings_0.5.0.tar.gz(r-4.7-any)ggsprings_0.5.0.tar.gz(r-4.6-any)
ggsprings_0.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ggsprings/json (API)
| # Install 'ggsprings' in R: |
| install.packages('ggsprings', repos = c('https://friendly.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/friendly/ggsprings/issues
Pkgdown/docs site:https://friendly.github.io
Last updated from:16dbc690d1. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 158 | ||
| source / vignettes | OK | 266 | ||
| linux-release | OK | 151 | ||
| macos-release | OK | 107 | ||
| macos-oldrel | OK | 145 | ||
| windows-devel | OK | 95 | ||
| windows-release | OK | 92 | ||
| windows-oldrel | OK | 84 | ||
| wasm-release | OK | 102 |
Exports:create_springdraw_key_springgeom_residual_springsgeom_residualsgeom_smooth_fitgeom_springGeomSpringlayer_smooth_fitstat_smooth_fitStatSmoothFit
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Create the path of a spring | create_spring |
| Legend key for springs | draw_key_spring |
| Connect observations with springs | geom_spring |
| ggSprings extensions to ggplot2 | GeomSpring ggSpring StatSmoothFit |
| Fitted values, residuals and residual springs from a smoother | geom_residuals geom_residual_springs geom_smooth_fit layer_smooth_fit smooth_fit stat_smooth_fit |
