Nonlinear Modeling with Generalized Additive Models (GAMs) in R
Noam Ross
Senior Research Scientist, EcoHealth Alliance
plot(gam_model)
?plot.gam
plot(gam_model, select = c(2, 3))
plot(gam_model, pages = 1)
plot(gam_model, pages = 1, all.terms = TRUE)
plot(gam_model, rug = TRUE)
plot(gam_model, residuals = TRUE)
plot(gam_model, rug = TRUE, residuals = TRUE,
pch = 1, cex = 1)
plot(gam_model, se = TRUE)
plot(gam_model, shade = TRUE)
plot(gam_model, shade = TRUE, shade.col = "lightblue")
plot(gam_model, seWithMean = TRUE)
plot(gam_model, seWithMean = TRUE, shift = coef(gam_model)[1])
Nonlinear Modeling with Generalized Additive Models (GAMs) in R