Skip to contents

Springs

Draw springs connecting pairs of points.

geom_spring()
Connect observations with springs
create_spring()
Create the path of a spring
draw_key_spring()
Legend key for springs

Fitted values and residual springs

Draw fitted values, residuals or residual springs from any smoothing method.

layer_smooth_fit() stat_smooth_fit() geom_smooth_fit() geom_residuals() geom_residual_springs()
Fitted values, residuals and residual springs from a smoother

ggproto objects

ggproto classes used for extending ggplot2; not intended to be used directly.

ggSpring GeomSpring StatSmoothFit
ggSprings extensions to ggplot2
ggsprings ggsprings-package
ggsprings: Draw Springs in 'ggplot2' to Illustrate Least Squares