Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. library(ISLR)
  2. library(mgcv)
  3. library(gam)
  4.  
  5. # I get an error message when it runs this
  6. gam.m3 <- gam::gam(wage~s(year,4)+s(age,5)+education,data=Wage)
  7.  
  8. # No error message when I detach mgcv
  9. detach(package:mgcv)
  10. gam.m3 <- gam::gam(wage~s(year,4)+s(age,5)+education,data=Wage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement