l_fitLine {mgcViz} | R Documentation |
Add fitted smooth effect curve
Description
This layer add lines representing a single or a group of parametric or smooth 1D effects.
Usage
l_fitLine(...)
Arguments
... |
graphical arguments to be passed to |
Details
When used in conjuction with plot.fs.interaction.1D, which plots smooth effects
of type bs="fs"
, this function uses transparency to avoid over-plotting.
This can be avoided by setting alpha = 1
in the call to l_fitLine
.
Value
An object of class gamLayer
.
See Also
See plot.mgcv.smooth.1D, plot.ptermNumeric, or plot.fs.interaction.1D for examples.
[Package mgcViz version 0.1.11 Index]