This layer adds a rug plot to the margins of a plot. It is mainly a wrapper around ggplot2::geom_rug. Notice that for factor effects plots the rug is jittered by default.
l_rug(...)
... | graphical arguments to be passed to |
---|
An object of class gamLayer
.
See plot.mgcv.smooth.1D, plot.mgcv.smooth.2D or check1D for examples.