[R] produce a map in ARCGIS from a GAM output

2013-04-12 Thread Lauria, Valentina
Hi, I am trying to predict the habitat suitability of lobster with GAMs. I need to produce a map in ArcGis of the predicted densities. I did some search and the function predict.gam seems to do the job. Is this the right way to do it? when you apply the function you get the predicted values

Re: [R] produce a map in ARCGIS from a GAM output

2013-04-12 Thread Barry Rowlingson
On Fri, Apr 12, 2013 at 10:37 AM, Lauria, Valentina valentina.lau...@nuigalway.ie wrote: Hi, I am trying to predict the habitat suitability of lobster with GAMs. I need to produce a map in ArcGis of the predicted densities. I did some search and the function predict.gam seems to do the job.

Re: [R] produce a map in ARCGIS from a GAM output

2013-04-12 Thread Lauria, Valentina
Dear Barry, Thank you very much for your reply. I am trying to create a map in GIS of the habitat prediction of lobster using environmental predictors. I am attaching here a brief example of my script and data. I am OK for the GAM fitting and evaluation (residuals plot etc) but I am having