l_rug | R Documentation |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.