SHARE
TWEET

Untitled

a guest Jun 15th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top