l_points: Add points to plot

View source: R/L_points.R

l_pointsR Documentation

Add points to plot

Description

This layers add points to smooth, parametric or random effect plots. It can also be used to add points to the output of check1D and check2D. The meaning of the added points, which could represent residuals or covariate values, should be clear from context.

Usage

l_points(...)

Arguments

...

graphical arguments to be passed to ggplot2::geom_point.

Value

An object of class gamLayer.

See Also

See plot.mgcv.smooth.1D, plot.mgcv.smooth.2D, check1D or check2D for examples.


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

Related to l_points in mgcViz...