plot_gam | R Documentation |
GAM Quick Plot
plot_gam(
model,
plot_x = NULL,
ylab = NULL,
xlab = NULL,
ylims = NULL,
xlims = NULL
)
model |
A mgcv::gam model object |
plot_x |
A column name for the axis of plot |
ylab |
A user-provided string for the y-axis |
xlab |
A user-provided string for x-axis |
ylims |
A numeric vector of length two for the y limits |
Plots the raw response against the first independent variable, then overlays a prediction ribbon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.