Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Fitting PPM response, Height, MPG, Age as predictors
- PPM.gam <- gam(PPM~s(Height)+s(MPG)+s(Age),data=baskball.df)
- # Plotting all predictors
- par(mfrow=c(2,2))
- plot(PPM.gam,se=TRUE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement