this is the gam code I am using:
plot.gam(m3,shift=mean (sandhill.clean$parentAge), ylim=c(0,5), xlim=c(0,19), ylab= "Chick Mass (g)", xlab="Parent Age