Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. library(mgcv)
  2. x3 <- as.factor(x3)
  3. my.model <- gam(y ~ s(x1) + s(x2) + x3, method = "REML")
  4. summary(my.model)
  5. plot(my.model, shade=TRUE, pages=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement