noamross / gams-in-r-course

Generalized Additive Models in R: A Free Interactive Course
https://noamross.github.io/gams-in-r-course
Other
243 stars 69 forks source link

Is the formula correct ? chap4.1 #17

Open dsolito opened 5 years ago

dsolito commented 5 years ago

The exemple showed.

image

Correct one?

gam(y ~ s(x1) + s(x2), data = dat, family = binomial, method = "REML")