RE: [R] Fitting Contour to Data Points

2005-05-16 Thread Liaw, Andy
You can use the akima package to interpolate to a regular grid, then plot that. Another choice is to fit a smooth surface, using any number of smoothers available in R and CRAN. Andy > From: Laura Quinn > > Apologies for the mass mailing today! > > I am attempting to produce a contour plot for

Re: [R] Fitting Contour to Data Points

2005-05-16 Thread Gavin Simpson
Laura Quinn wrote: Apologies for the mass mailing today! I am attempting to produce a contour plot for phsical data on a map matrix. I have a small number of data points which each has an (x,y) co-ordinate together with a corresponding value which I would like to cvreate a contour plot for. I have