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(...)

Arguments

...

graphical arguments to be passed to ggplot2::geom_rug.

Value

An object of class gamLayer.

See also