powered by
Extract 1d smooth objects in tidy data format.
tidy_smooth(x, keep = c("x", "fit", "se", "xlab", "ylab"), ci = TRUE, ...)
a fitted gam object as produced by gam().
gam
gam()
A vector of variables to keep.
A logical value indicating whether confidence intervals should be calculated and returned. Defaults to TRUE.
TRUE
Further arguments passed to plot.gam
plot.gam