Produce a partial residual plot for each predictor of a gam. Plots are on a 2x2 grid. Ribbons show the 95% confidence intervals.
1 | plot_gam_effect(g, ylabel)
|
g |
A gam |
ylabel |
Label for the y axis (i.e., the name of the reponse variable) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.