Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

l_rug

Adding rug to margins of a plot


Description

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.

Usage

l_rug(...)

Arguments

...

graphical arguments to be passed to ggplot2::geom_rug.

Value

An object of class gamLayer.

See Also


mgcViz

Visualisations for Generalized Additive Models

v0.1.6
GPL-3
Authors
Matteo Fasiolo [aut, cre], Raphael Nedellec [aut], Yannig Goude [ctb], Christian Capezza [ctb], Simon N. Wood [ctb]
Initial release
2020-03-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.