l_fitBar: Adding barplot to effect plots

View source: R/L_fitBar.R

l_fitBarR Documentation

Adding barplot to effect plots

Description

This layer adds a barplot to an effect plots. Mainly useful for factor or binary effect plots.

Usage

l_fitBar(a.aes = list(), ...)

Arguments

a.aes

list of aesthetic mapping arguments that will be passed to ggplot2::geom_bar. For instance we could set a.aes=list("fill"="red") to change the colour of the barplot.

...

graphical arguments to be passed to ggplot2::geom_bar.

Value

an object of class gamLayer.

See Also

See plot.ptermFactor for examples.


mgcViz documentation built on Oct. 6, 2023, 5:09 p.m.

Related to l_fitBar in mgcViz...