View source: R/plot_dominance.R
plot_dominance | R Documentation |
Plots the (relative) contribution of the individual GAMs to each data point on a given axis. It shows whether and how parts of the axis are dominated by certain individual GAMs.
plot_dominance(x, term = NULL, relative = TRUE, width = NULL)
x |
Object returned by |
term |
Character specifying which smooth term to plot. Default to
|
relative |
Logical specifying whether to have relative or absolute
scales. Defaults to |
width |
Width of bars. Default to |
A ggplot object.
# See the vignette, either at https://lifebrain.github.io/metagam/articles/articles/dominance.html
# or by typing the following in the console:
# vignette("Dominance")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.