# data.frame

7. ### Input data for a GAM

Hi there, I am trying to use a GAM (with the mgcv package) to look at species abundance. I have created a data frame for input into the model but the model will not pick up the column headers when I create my function. This also spawns the error message 'object is not a matrix'. I have also...